mirror of https://github.com/openssl/openssl
Fix documented max. length for info buffer in HKDF
This limit was increased with 20c2876f24
("Increase
HKDF_MAXBUF from 1024 to 2048").
CLA: trivial
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19085)
This commit is contained in:
parent
2b44565476
commit
d4ffdc42cb
|
@ -99,7 +99,7 @@ A context for HKDF can be obtained by calling:
|
|||
|
||||
EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_HKDF, NULL);
|
||||
|
||||
The total length of the info buffer cannot exceed 1024 bytes in length: this
|
||||
The total length of the info buffer cannot exceed 2048 bytes in length: this
|
||||
should be more than enough for any normal use of HKDF.
|
||||
|
||||
The output length of an HKDF expand operation is specified via the length
|
||||
|
|
Loading…
Reference in New Issue