Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
BLOCK_CIPHER_OPTION_PLAIN_TEXT_POINTER_ALIGNED The plain text pointer is pointing to data that is aligned
to the target machine's word size (16-bit aligned for
PIC24/dsPIC30/dsPIC33, and 8-bit aligned for PIC18).
Enabling this feature may improve throughput.
BLOCK_CIPHER_OPTION_CIPHER_TEXT_POINTER_ALIGNED The cipher text pointer is pointing to data that is aligned
to the target machine's word size (16-bit aligned for
PIC24/dsPIC30/dsPIC33, and 8-bit aligned for PIC18).
Enabling this feature may improve throughput.
BLOCK_CIPHER_OPTION_USE_CFB1 Calculate the key stream for CFB1 mode
BLOCK_CIPHER_OPTION_USE_CFB8 Calculate the key stream for CFB8 mode
BLOCK_CIPHER_OPTION_USE_CFB_BLOCK_SIZE Calculate the key stream for CFB(block size) mode
BLOCK_CIPHER_OPTION_CTR_SIZE_MASK Mask to determine the size of the counter in bytes.
BLOCK_CIPHER_OPTION_CTR_32BIT Treat the counter as a 32-bit counter. Leave the
remaining section of the counter unchanged
BLOCK_CIPHER_OPTION_CTR_64BIT Treat the counter as a 64-bit counter. Leave the
remaining section of the counter unchanged
BLOCK_CIPHER_OPTION_CTR_128BIT Treat the counter as a full 128-bit counter. This is the
default option.
Module
General Functionality
Description
Describes general options that can be selected when encrypting/decrypting a message. Some of these options may not be
necessary in certain modes of operation (for example, padding is not necessary when using OFB, which operates as a
stream cipher). Note that the CTR and CFB modes have additional options that apply only to those modes.
1.7.1.1.1.1 BLOCK_CIPHER_OPTION_AUTHENTICATE_ONLY Macro
File
block_cipher_modes.h
Syntax
#define BLOCK_CIPHER_OPTION_AUTHENTICATE_ONLY
Description
This option is used to pass data that will be authenticated but not encrypted into an authenticating block cipher mode
function.
1.7.1.1.1.2 BLOCK_CIPHER_OPTION_STREAM_START Macro
File
block_cipher_modes.h
Syntax
#define BLOCK_CIPHER_OPTION_STREAM_START
Description
This should be passed when a new stream is starting
1.7.1.1.1.3 BLOCK_CIPHER_OPTION_STREAM_CONTINUE Macro
File
block_cipher_modes.h
1.7 Library Interface MLA - Crypto Library Help Block Cipher Modes
29
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_crypto.pdf