Searched refs:hmac_key (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/hmac/ |
H A D | hmac.c | 49 * by the file descirptor, 'fd'. The key, 'hmac_key', and key type, 'ka', 57 hash_gen(int in_fd, const wbku_key_attr_t *ka, const uint8_t *hmac_key) argument 67 HMACInit(&ctx, hmac_key, ka->ka_len); 83 HMACFinal(&ctx, hmac_key, ka->ka_len, digest); 120 uint8_t hmac_key[WANBOOT_HMAC_KEY_SIZE]; local 218 wbkuret = wbku_find_key(key_fp, NULL, &ka, hmac_key, B_FALSE); 223 ret = hash_gen(in_fd, &ka, hmac_key);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeysUtil.c | 1170 soft_object_t *hmac_key, 1200 rv = soft_sign_init(session_p, &digest_mech, hmac_key); 1306 soft_object_t *hmac_key = NULL; local 1331 hmac_key = (soft_object_t *)phKey; 1337 (void) soft_delete_object(session_p, hmac_key, B_FALSE, 1354 (void) soft_delete_object(session_p, hmac_key, B_FALSE, 1396 rv = do_prf(session_p, params, hmac_key, 1402 (void) soft_delete_object(session_p, hmac_key, B_FALSE, B_FALSE); 1168 do_prf(soft_session_t *session_p, CK_PKCS5_PBKD2_PARAMS_PTR params, soft_object_t *hmac_key, CK_BYTE *newsalt, CK_ULONG saltlen, CK_BYTE *blockdata, CK_ULONG blocklen) argument
|
H A D | softKeystoreUtil.c | 156 static soft_object_t *hmac_key = NULL; variable 1234 * enc_key, and hmac_key will be used for decrypting the original 1724 (void) soft_cleanup_object(hmac_key); 1729 hmac_key = new_hmac_key; 1750 (void) soft_cleanup_object(hmac_key); 1752 hmac_key = NULL; 1847 if (soft_gen_hmac_key(pin, &hmac_key, (CK_BYTE **)&hmac_salt) 2088 if (soft_keystore_hmac(hmac_key, B_FALSE, buf, 2360 if (soft_keystore_hmac(hmac_key, B_TRUE, encrypted_buf, 2609 if (soft_keystore_hmac(hmac_key, B_TRU [all...] |
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslproto.h | 271 crypto_key_t hmac_key; /* for TLS */ member in struct:KSSLCipherSpecStr
|
H A D | ksslrec.c | 241 rv = crypto_mac(&spec->hmac_mech, &dd, &spec->hmac_key, 1542 spec->hmac_key.ck_format = CRYPTO_KEY_RAW; 1543 spec->hmac_key.ck_data = ssl->mac_secret[dir]; 1544 spec->hmac_key.ck_length = spec->mac_hashsz * 8; 1561 spec->hmac_key.ck_format = CRYPTO_KEY_RAW; 1562 spec->hmac_key.ck_data = ssl->mac_secret[dir]; 1563 spec->hmac_key.ck_length = spec->mac_hashsz * 8;
|
Completed in 248 milliseconds