mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 12:44:45 +02:00
updated comment for aead in SanityCheckCipherText()
This commit is contained in:
@@ -3139,7 +3139,7 @@ static int SanityCheckCipherText(CYASSL* ssl, word32 encryptSz)
|
||||
minLength = ssl->specs.hash_size;
|
||||
}
|
||||
else if (ssl->specs.cipher_type == aead) {
|
||||
minLength = ssl->specs.block_size; /* actual min? */
|
||||
minLength = ssl->specs.block_size; /* explicit IV + implicit IV + CTR*/
|
||||
}
|
||||
|
||||
if (encryptSz < minLength) {
|
||||
|
Reference in New Issue
Block a user