Build an X509_ALGOR describing PBKDF2 key‐derivation parameters.
Synopsis
Declared in <openssl/x509.h>
X509_ALGOR*
PKCS5_pbkdf2_set(
int iter,
unsigned char* salt,
int saltlen,
int prf_nid,
int keylen);
Return Value
Newly allocated X509_ALGOR, or NULL on error.
Parameters
Name |
Description |
iter |
PBKDF2 iteration count. |
salt |
Salt bytes, or NULL to generate/omit as implemented. |
saltlen |
Length of |
prf_nid |
NID of the PRF digest (e.g. NID_hmacWithSHA256), or 0 for the default. |
keylen |
Derived key length in bytes, or 0 if omitted from the parameters. |
Created with MrDocs