summaryrefslogtreecommitdiffstats
path: root/test/evp_extra_test.c
diff options
context:
space:
mode:
authorSumitra Sharma <sumitraartsy@gmail.com>2023-10-03 05:58:44 +0200
committerTomas Mraz <tomas@openssl.org>2023-10-04 12:19:22 +0200
commit82496b8663f20ff12f02adbe46a060a94b0cbfc5 (patch)
treef4de82305a3ef435c4a84ca8e9befdba76e917f3 /test/evp_extra_test.c
parentRestore the meaning of EVP_PKEY_print_private() (diff)
downloadopenssl-82496b8663f20ff12f02adbe46a060a94b0cbfc5.tar.xz
openssl-82496b8663f20ff12f02adbe46a060a94b0cbfc5.zip
Correct documentation for PKCS5_PBKDF2_HMAC
In OpenSSL 3.x, the documentation for PKCS5_PBKDF2_HMAC incorrectly states that an iter value less than 1 is treated as a single iteration. Upon further investigation in providers/implementations/kdfs/pbkdf2.c, it appears that invalid iter values will result in failure and raise the PROV_R_INVALID_ITERATION_COUNT error. This commit corrects the documentation to accurately reflect the behavior in OpenSSL 3.x. Closes openssl#22168 Signed-off-by: Sumitra Sharma <sumitraartsy@gmail.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22252)
Diffstat (limited to 'test/evp_extra_test.c')
0 files changed, 0 insertions, 0 deletions