]> git.ipfire.org Git - thirdparty/openssl.git/commit
Change ChaCha20-Poly1305 to be consistent with out ciphers
authorMatt Caswell <matt@openssl.org>
Fri, 19 Jun 2020 16:26:49 +0000 (17:26 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 6 Jul 2020 08:26:09 +0000 (09:26 +0100)
commit27d4c840fc399fe0d4550a5b88e91ecca887d1a4
treeecbb43dcdbc63b48bafc84f548babc20eda9b75c
parent524cb684ac00922c4a21235a8ae2c66596893437
Change ChaCha20-Poly1305 to be consistent with out ciphers

Other ciphers return the length of the Payload for TLS as a result of an
EVP_DecryptUpdate() operation - but  ChaCha20-Poly1305 did not. We change
it so that it does.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12288)
providers/implementations/ciphers/cipher_chacha20_poly1305.c
providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c