Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/
DBlockCipherVerify.c149 UINT8 Decrypt[256]; in ValidateCryptBlockCipher() local
166 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
180 Status = TdesEcbDecrypt (CipherCtx, Encrypt, 8, Decrypt); in ValidateCryptBlockCipher()
191 if (CompareMem (Decrypt, TdesEcbData, 8) != 0) { in ValidateCryptBlockCipher()
202 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
216 Status = TdesEcbDecrypt (CipherCtx, Encrypt, 8, Decrypt); in ValidateCryptBlockCipher()
227 if (CompareMem (Decrypt, TdesEcbData, 8) != 0) { in ValidateCryptBlockCipher()
238 ZeroMem (Decrypt, 256); in ValidateCryptBlockCipher()
252 Status = TdesCbcDecrypt (CipherCtx, Encrypt, sizeof (TdesCbcData), TdesCbcIvec, Decrypt); in ValidateCryptBlockCipher()
263 if (CompareMem (Decrypt, TdesCbcData, sizeof (TdesCbcData)) != 0) { in ValidateCryptBlockCipher()
[all …]