[openssl/openssl] 82496b: Correct documentation for PKCS5_PBKDF2_HMAC

heygauri noreply at github.com
Wed Oct 4 10:22:36 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 82496b8663f20ff12f02adbe46a060a94b0cbfc5
      https://github.com/openssl/openssl/commit/82496b8663f20ff12f02adbe46a060a94b0cbfc5
  Author: Sumitra Sharma <sumitraartsy at gmail.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M doc/man3/PKCS5_PBKDF2_HMAC.pod

  Log Message:
  -----------
  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 at gmail.com>

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22252)




More information about the openssl-commits mailing list