]> granicus.if.org Git - openssl/commit
Properly zero cipher_data for ChaCha20-Poly1305 on cleanup
authorKazuki Yamaguchi <k@rhe.jp>
Thu, 26 Jan 2017 04:01:30 +0000 (13:01 +0900)
committerRich Salz <rsalz@openssl.org>
Thu, 16 Feb 2017 01:01:21 +0000 (20:01 -0500)
commit3bdc1dc8fcc97a8945ddbc2748e7059207ea3914
tree395095db31b370cf021ea17fb2d8f47f1716d08e
parentb763981b76b6a97c72011c290ec574b37a15f6e4
Properly zero cipher_data for ChaCha20-Poly1305 on cleanup

Fix a typo. Probably this has not been found because EVP_CIPHER_CTX is
smaller than EVP_CHACHA_AEAD_CTX and heap overflow does not occur.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2294)
(cherry picked from commit a8f957686675194d786b41f6e1f7c48bb85723ec)
crypto/evp/e_chacha20_poly1305.c