blake2: avoid writing to output buffer when using default digest length
authorAntoine Salon <asalon@vmware.com>
Mon, 7 Jan 2019 23:09:55 +0000 (15:09 -0800)
committerMatt Caswell <matt@openssl.org>
Wed, 6 Feb 2019 09:24:28 +0000 (09:24 +0000)
commit8269e44f9e40831a497fe9f31ba1d65aeb49a5c1
tree352c1abf0de4d299b42fc62cf0848588d35c7ca3
parentb215db236c6668c785bd99787b3fd07d5b2e6a10
blake2: avoid writing to output buffer when using default digest length

Signed-off-by: Antoine Salon <asalon@vmware.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7726)
crypto/blake2/blake2b.c
crypto/blake2/blake2s.c