Cryptographic Token Interface Standard

PKCS#11


CK_PKCS5_PBKD2_PARAMS Reference

CK_PKCS5_PBKD2_PARAMS; CK_PKCS5_PBKD2_PARAMS_PTR

CK_PKCS5_PBKD2_PARAMS is a structure that provides the parameters to the CKM_PKCS5_PBKD2 mechanism. More...


Data Fields

CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE saltSource
 source of the salt value. More...

CK_VOID_PTR pSaltSourceData
 data used as the input for the salt source. More...

CK_ULONG ulSaltSourceDataLen
 length of the salt source input. More...

CK_ULONG iterations
 number of iterations to perform when generating each block of random data. More...

CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE prf
 pseudo-random function to used to generate the key. More...

CK_VOID_PTR pPrfData
 data used as the input for PRF in addition to the salt value. More...

CK_ULONG ulPrfDataLen
CK_UTF8CHAR_PTR pPassword
CK_ULONG_PTR ulPasswordLen
 length in bytes of the password information. More...


Detailed Description

CK_PKCS5_PBKD2_PARAMS; CK_PKCS5_PBKD2_PARAMS_PTR

CK_PKCS5_PBKD2_PARAMS is a structure that provides the parameters to the CKM_PKCS5_PBKD2 mechanism. The structure is defined as follows:
saltSource source of the salt value
pSaltSourceData data used as the input for the salt source
ulSaltSourceDataLen length of the salt source input
iterations number of iterations to perform when generating each block of random data
prf pseudo-random function to used to generate the key
pPrfData data used as the input for PRF in addition to the salt value
ulPrfDataLen length of the input data for the PRF
pPassword points to the password to be used in the PBE key generation
ulPasswordLen length in bytes of the password information

CK_PKCS5_PBKD2_PARAMS_PTR is a pointer to a CK_PKCS5_PBKD2_PARAMS.


Field Documentation

CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE saltSource
 

source of the salt value.

CK_VOID_PTR pSaltSourceData
 

data used as the input for the salt source.

CK_ULONG ulSaltSourceDataLen
 

length of the salt source input.

CK_ULONG iterations
 

number of iterations to perform when generating each block of random data.

CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE prf
 

pseudo-random function to used to generate the key.

CK_VOID_PTR pPrfData
 

data used as the input for PRF in addition to the salt value.

CK_ULONG_PTR ulPasswordLen
 

length in bytes of the password information.


RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v230