Cryptographic Token Interface Standard |
PKCS#11 |
typedef struct CK_PBE_PARAMS { CK_BYTE_PTR pInitVector; CK_UTF8CHAR_PTR pPassword; CK_ULONG ulPasswordLen; CK_BYTE_PTR pSalt; CK_ULONG ulSaltLen; CK_ULONG ulIteration; } CK_PBE_PARAMS;
pInitVector | pointer to the location that receives the 8-byte initialization vector (IV), if an IV is required; |
pPassword | points to the password to be used in the PBE key generation; |
ulPasswordLen | length in bytes of the password information; |
pSalt | points to the salt to be used in the PBE key generation; |
ulSaltLen | length in bytes of the salt information; |
ulIteration | number of iterations required for the generation. |
CK_PBE_PARAMS_PTR is a pointer to a CK_PBE_PARAMS.