Home
last modified time | relevance | path

Searched refs:hmac_key (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeysUtil.c1172 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 DsoftKeystoreUtil.c157 static soft_object_t *hmac_key = NULL; variable
1728 (void) soft_cleanup_object(hmac_key); in soft_keystore_setpin()
1733 hmac_key = new_hmac_key; in soft_keystore_setpin()
1754 (void) soft_cleanup_object(hmac_key); in soft_keystore_setpin()
1756 hmac_key = NULL; in soft_keystore_setpin()
1847 if (soft_gen_hmac_key(pin, &hmac_key, (CK_BYTE **)&hmac_salt) in soft_keystore_authpin()
2084 if (soft_keystore_hmac(hmac_key, B_FALSE, buf, in soft_keystore_get_single_obj()
2356 if (soft_keystore_hmac(hmac_key, B_TRUE, encrypted_buf, in soft_keystore_put_new_obj()
2609 if (soft_keystore_hmac(hmac_key, B_TRUE, encrypted_buf, in soft_keystore_modify_obj()