Commit 6087d4a6 authored by Patrick Steuer's avatar Patrick Steuer
Browse files

Directly return from final sha3/keccak_final if no bytes are requested



Requesting zero bytes from shake previously led to out-of-bounds write
on some platforms.

Signed-off-by: default avatarPatrick Steuer <patrick.steuer@de.ibm.com>

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9433)

(cherry picked from commit a890ef833d114da3430c2f2efd95e01714704d34)
parent ec9cbe21
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment