Searched refs:hmac_key (Results 1 – 2 of 2) sorted by relevance
| /illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
| H A D | softKeysUtil.c | 1172 soft_object_t *hmac_key, CK_BYTE *newsalt, CK_ULONG saltlen, in do_prf() argument 1201 rv = soft_sign_init(session_p, &digest_mech, hmac_key); in do_prf() 1306 soft_object_t *hmac_key = NULL; in soft_generate_pkcs5_pbkdf2_key() local 1326 *params->ulPasswordLen, &hmac_key); in soft_generate_pkcs5_pbkdf2_key() 1335 (void) soft_delete_object(session_p, hmac_key, B_FALSE, in soft_generate_pkcs5_pbkdf2_key() 1352 (void) soft_delete_object(session_p, hmac_key, B_FALSE, in soft_generate_pkcs5_pbkdf2_key() 1394 rv = do_prf(session_p, params, hmac_key, in soft_generate_pkcs5_pbkdf2_key() 1400 (void) soft_delete_object(session_p, hmac_key, B_FALSE, B_FALSE); in soft_generate_pkcs5_pbkdf2_key()
|
| H A D | softKeystoreUtil.c | 157 static soft_object_t *hmac_key = NULL; variable 1727 (void) soft_cleanup_object(hmac_key); in soft_keystore_setpin() 1732 hmac_key = new_hmac_key; in soft_keystore_setpin() 1753 (void) soft_cleanup_object(hmac_key); in soft_keystore_setpin() 1755 hmac_key = NULL; in soft_keystore_setpin() 1846 if (soft_gen_hmac_key(pin, &hmac_key, (CK_BYTE **)&hmac_salt) in soft_keystore_authpin() 2083 if (soft_keystore_hmac(hmac_key, B_FALSE, buf, in soft_keystore_get_single_obj() 2355 if (soft_keystore_hmac(hmac_key, B_TRUE, encrypted_buf, in soft_keystore_put_new_obj() 2608 if (soft_keystore_hmac(hmac_key, B_TRUE, encrypted_buf, in soft_keystore_modify_obj()
|