The first EVP initialization call in AESGCMCipher::encrypt() used EVP_DecryptInit. Every other cipher mode in the file correctly matches its init calls to the operation direction (CBC, CTR, OCB, KW). The second EVP_EncryptInit call overrides the context direction before any ciphertext is produced, but the EVP_CTRL_GCM_SET_IVLEN control call on the next line executes while the context is in decrypt mode. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| TestAES.cpp | ||
| TestArgon2.cpp | ||
| TestASN1.cpp | ||
| TestBigFraction.cpp | ||
| TestBigInteger.cpp | ||
| TestCurves.cpp | ||
| TestEd448.cpp | ||
| TestEd25519.cpp | ||
| TestHash.cpp | ||
| TestHKDF.cpp | ||
| TestHMAC.cpp | ||
| TestMLDSA.cpp | ||
| TestOAEP.cpp | ||
| TestPBKDF2.cpp | ||
| TestPSS.cpp | ||
| TestRSA.cpp | ||