Lines Matching refs:Decrypt

149   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()
283 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
297 Status = AesEcbDecrypt (CipherCtx, Encrypt, sizeof (Aes128EcbData), Decrypt); in ValidateCryptBlockCipher()
308 if (CompareMem (Decrypt, Aes128EcbData, sizeof (Aes128EcbData)) != 0) { in ValidateCryptBlockCipher()
319 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
333 Status = AesEcbDecrypt (CipherCtx, Encrypt, sizeof (Aes192EcbData), Decrypt); in ValidateCryptBlockCipher()
344 if (CompareMem (Decrypt, Aes192EcbData, sizeof (Aes192EcbData)) != 0) { in ValidateCryptBlockCipher()
355 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
369 Status = AesEcbDecrypt (CipherCtx, Encrypt, sizeof (Aes256EcbData), Decrypt); in ValidateCryptBlockCipher()
380 if (CompareMem (Decrypt, Aes256EcbData, sizeof (Aes256EcbData)) != 0) { in ValidateCryptBlockCipher()
391 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
405 Status = AesCbcDecrypt (CipherCtx, Encrypt, sizeof (Aes128CbcData), Aes128CbcIvec, Decrypt); in ValidateCryptBlockCipher()
416 if (CompareMem (Decrypt, Aes128CbcData, sizeof (Aes128CbcData)) != 0) { in ValidateCryptBlockCipher()
432 ZeroMem (Decrypt, sizeof (Decrypt)); in ValidateCryptBlockCipher()
452 Status = Arc4Decrypt (CipherCtx, Encrypt, sizeof (Arc4Data), Decrypt); in ValidateCryptBlockCipher()
463 if (CompareMem (Decrypt, Arc4Data, sizeof (Arc4Data)) != 0) { in ValidateCryptBlockCipher()