mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
5366490822
Fixes #7894 This allows SHAKE to squeeze multiple times with different output sizes. The existing EVP_DigestFinalXOF() API has been left as a one shot operation. A similar interface is used by another toolkit. The low level SHA3_Squeeze() function needed to change slightly so that it can handle multiple squeezes. This involves changing the assembler code so that it passes a boolean to indicate whether the Keccak function should be called on entry. At the provider level, the squeeze is buffered, so that it only requests a multiple of the blocksize when SHA3_Squeeze() is called. On the first call the value is zero, on subsequent calls the value passed is 1. This PR is derived from the excellent work done by @nmathewson in https://github.com/openssl/openssl/pull/7921 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21511) |
||
---|---|---|
.. | ||
perl | ||
platform_symbols | ||
add-depends.pl | ||
build.info | ||
c-compress-test.pl | ||
cavs-to-evptest.pl | ||
check-format-test-negatives.c | ||
check-format-test-positives.c | ||
check-format.pl | ||
check-malloc-errs | ||
checkplatformsyms.pl | ||
ck_errf.pl | ||
copy.pl | ||
ctags.sh | ||
dofile.pl | ||
echo.pl | ||
engines.num | ||
err-to-raise | ||
find-doc-nits | ||
find-unused-errs | ||
fips-checksums.sh | ||
fix-deprecation | ||
fix-includes | ||
fix-includes.sed | ||
help.pl | ||
indent.pro | ||
lang-compress.pl | ||
libcrypto.num | ||
libssl.num | ||
markdownlint.rb | ||
merge-err-lines | ||
missingcrypto111.txt | ||
missingcrypto-internal.txt | ||
missingcrypto.txt | ||
missingmacro111.txt | ||
missingmacro.txt | ||
missingssl111.txt | ||
missingssl-internal.txt | ||
missingssl.txt | ||
mk-fipsmodule-cnf.pl | ||
mkbuildinf.pl | ||
mkdef.pl | ||
mkdir-p.pl | ||
mkerr.pl | ||
mknum.pl | ||
mkpod2html.pl | ||
mkrc.pl | ||
mktar.sh | ||
opensslwrap.sh | ||
other-internal.syms | ||
other.syms | ||
providers.num | ||
quicserver.c | ||
shlib_wrap.sh.in | ||
su-filter.pl | ||
withlibctx.pl | ||
wrap.pl.in | ||
write-man-symlinks |