Added ChaCha20+Poly1305 support (stand-alone, cipher suites).
This commit is contained in:
parent
9e71c0673a
commit
b42bd5972f
26 changed files with 1952 additions and 523 deletions
|
|
@ -67,7 +67,7 @@ gcm_check_length(const br_sslrec_gcm_context *cc, size_t rlen)
|
|||
* 16 bytes for the authentication tag (after the ciphertext)
|
||||
*/
|
||||
(void)cc;
|
||||
return rlen >= 24 && rlen <= (16384 + rlen);
|
||||
return rlen >= 24 && rlen <= (16384 + 24);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue