We have now test vectors from RFC 6070 and CKP_PKCS5_PBKD2_HMAC_SHA1 as a PRF
|
let params = CK_PKCS5_PBKD2_PARAMS2 { |
|
saltSource: CKZ_DATA_SPECIFIED, |
|
pSaltSourceData: void_ptr!(test.1.as_ptr()), |
|
ulSaltSourceDataLen: test.1.len() as CK_ULONG, |
|
iterations: test.2, |
|
prf: CKP_PKCS5_PBKD2_HMAC_SHA1, |
|
pPrfData: std::ptr::null_mut(), |
|
ulPrfDataLen: 0, |
|
pPassword: test.0.as_ptr() as *const _ as *mut _, |
|
ulPasswordLen: test.0.len() as CK_ULONG, |
|
}; |
We need to extend the tests set
We have now test vectors from RFC 6070 and
CKP_PKCS5_PBKD2_HMAC_SHA1as a PRFkryoptic/src/tests/kdfs.rs
Lines 859 to 869 in 47bd87c
We need to extend the tests set