Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

key [in] The input key which can be 192 bits in length. This key
should be formed from three concatenated DES keys.
Function
void TDES_RoundKeysCreate(void* roundKeys,
uint8_t* key,
)
1.7.3.5 TDES_Encrypt Function
Encrypts a 64-byte block of data using the Triple-DES algorithm.
File
tdes.h
Syntax
void TDES_Encrypt(DRV_HANDLE handle, void* cipherText, void* plainText, void* key);
Module
TDES
Returns
None.
Description
Encrypts a 64-byte block of data using the Triple-DES algorithm.
Remarks
TDES should be used with a block cipher mode of operation. See block_cipher_modes.h for more information.
Preconditions
None
Parameters
Parameters Description
handle Pointer to the driver handle for an instance of a TDES
module being used to encrypt the plaintext. This should be
specified as NULL for the pure software implementation of
TDES.
cipherText Buffer for the 64-bit output block of cipherText produced by
encrypting the plainText.
plainText The 64-bit block of plainText to encrypt.
key Pointer to a set of round keys created with the
TDES_RoundKeysCreate function.
Function
void TDES_Encrypt(DRV_HANDLE handle, void* cipherText, void* plainText,
void* key)
1.7.3.6 TDES_Decrypt Function
Decrypts a 64-byte block of data using the Triple-DES algorithm.
1.7 Library Interface MLA - Crypto Library Help TDES
97

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh