Home
last modified time | relevance | path

Searched refs:mac_key (Results 1 – 7 of 7) sorted by relevance

/freebsd-11-stable/crypto/openssl/crypto/evp/
HDpmeth_gn.c206 EVP_PKEY *mac_key = NULL; in EVP_PKEY_new_mac_key() local
216 if (EVP_PKEY_keygen(mac_ctx, &mac_key) <= 0) in EVP_PKEY_new_mac_key()
221 return mac_key; in EVP_PKEY_new_mac_key()
/freebsd-11-stable/crypto/openssl/ssl/
HDt1_enc.c164 EVP_PKEY *mac_key; in tls1_P_hash() local
176 mac_key = EVP_PKEY_new_mac_key(EVP_PKEY_HMAC, NULL, sec, sec_len); in tls1_P_hash()
177 if (!mac_key) in tls1_P_hash()
179 if (!EVP_DigestSignInit(&ctx_init, NULL, md, NULL, mac_key)) in tls1_P_hash()
233 EVP_PKEY_free(mac_key); in tls1_P_hash()
339 EVP_PKEY *mac_key; in tls1_change_cipher_state() local
505 mac_key = EVP_PKEY_new_mac_key(mac_type, NULL, in tls1_change_cipher_state()
507 if (mac_key == NULL in tls1_change_cipher_state()
508 || EVP_DigestSignInit(mac_ctx, NULL, m, NULL, mac_key) <= 0) { in tls1_change_cipher_state()
509 EVP_PKEY_free(mac_key); in tls1_change_cipher_state()
[all …]
HDbad_dtls_test.c266 #define mac_key (key_block + 20) macro
610 HMAC_Init(&ctx, mac_key, 20, EVP_sha1()); in send_record()
/freebsd-11-stable/sys/mips/rmi/dev/sec/
HDrmilib.h551 unsigned char mac_key[XLR_SEC_MAX_AUTH_KEY_LENGTH]; member
HDrmilib.c1856 memcpy(hmac_key, &op->mac_key[0], hmac_keylen); in xlr_sec_control_setup()
/freebsd-11-stable/sys/dev/bwn/
HDif_bwnvar.h966 struct bwn_key mac_key[58]; member
HDif_bwn.c3416 mac->mac_key[i].keyconf = NULL; in bwn_clear_keys()
3426 KASSERT(mac->mac_max_nr_keys <= N(mac->mac_key), in bwn_crypt_init()
4514 mac->mac_key[index].algorithm = algorithm; in bwn_key_dowrite()