OASIS Open Mailing List Archives  ·  All Lists  ·  pkcs11  ·  2014-06

pkcs11 — archive

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]

PKCS#11 missing or incorrect definitions


Hi Oscar Here's what we have right now in the CDS: * 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: typedef struct CK_PKCS5_PBKD2_PARAMS { CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE saltSource; CK_VOID_PTR pSaltSourceData; CK_ULONG ulSaltSourceDataLen; CK_ULONG iterations; CK_PKCS5_PBKD2_PSEUDO_RANDOM_FUNCTION_TYPE prf; CK_VOID_PTR pPrfData; CK_ULONG ulPrfDataLen; CK_UTF8CHAR_PTR pPassword; CK_ULONG_PTR ulPasswordLen; } CK_PKCS5_PBKD2_PARAMS; The fields of the structure have the following meanings: 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 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. What is being proposed for change here? I looked at the straw poll, but it's not entirely clear to me. Thanks --Chris

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]