Home
last modified time | relevance | path

Searched refs:TDES_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Cipher/
DCryptTdes.c151 …if (TdesContext == NULL || Input == NULL || (InputSize % TDES_BLOCK_SIZE) != 0 || Output == NULL) { in TdesEcbEncrypt()
166 Input += TDES_BLOCK_SIZE; in TdesEcbEncrypt()
167 Output += TDES_BLOCK_SIZE; in TdesEcbEncrypt()
168 InputSize -= TDES_BLOCK_SIZE; in TdesEcbEncrypt()
212 …if (TdesContext == NULL || Input == NULL || (InputSize % TDES_BLOCK_SIZE) != 0 || Output == NULL) { in TdesEcbDecrypt()
227 Input += TDES_BLOCK_SIZE; in TdesEcbDecrypt()
228 Output += TDES_BLOCK_SIZE; in TdesEcbDecrypt()
229 InputSize -= TDES_BLOCK_SIZE; in TdesEcbDecrypt()
273 UINT8 IvecBuffer[TDES_BLOCK_SIZE]; in TdesCbcEncrypt()
278 if (TdesContext == NULL || Input == NULL || (InputSize % TDES_BLOCK_SIZE) != 0) { in TdesCbcEncrypt()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/
DBaseCryptLib.h56 #define TDES_BLOCK_SIZE 8 macro