Searched refs:mac_key (Results 1 – 5 of 5) sorted by relevance
/third_party/openssl/crypto/kdf/ |
D | tls1_prf.c | 182 EVP_PKEY *mac_key = NULL; in tls1_prf_P_hash() local 197 mac_key = EVP_PKEY_new_raw_private_key(EVP_PKEY_HMAC, NULL, sec, sec_len); in tls1_prf_P_hash() 198 if (mac_key == NULL) in tls1_prf_P_hash() 200 if (!EVP_DigestSignInit(ctx_init, NULL, md, NULL, mac_key)) in tls1_prf_P_hash() 239 EVP_PKEY_free(mac_key); in tls1_prf_P_hash()
|
/third_party/openssl/crypto/evp/ |
D | pmeth_gn.c | 157 EVP_PKEY *mac_key = NULL; in EVP_PKEY_new_mac_key() local 165 if (EVP_PKEY_keygen(mac_ctx, &mac_key) <= 0) in EVP_PKEY_new_mac_key() 169 return mac_key; in EVP_PKEY_new_mac_key()
|
/third_party/openssl/ssl/ |
D | t1_enc.c | 94 EVP_PKEY *mac_key; in tls1_change_cipher_state() local 256 mac_key = EVP_PKEY_new_mac_key(mac_type, NULL, mac_secret, in tls1_change_cipher_state() 258 if (mac_key == NULL in tls1_change_cipher_state() 259 || EVP_DigestSignInit(mac_ctx, NULL, m, NULL, mac_key) <= 0) { in tls1_change_cipher_state() 260 EVP_PKEY_free(mac_key); in tls1_change_cipher_state() 265 EVP_PKEY_free(mac_key); in tls1_change_cipher_state()
|
/third_party/openssl/test/ |
D | bad_dtls_test.c | 57 #define mac_key (key_block + 20) macro 304 HMAC_Init_ex(ctx, mac_key, 20, EVP_sha1(), NULL); in send_record()
|
/third_party/python/Doc/library/ |
D | hashlib.rst | 651 >>> mac_key = blake2s(key=orig_key, person=b'kMAC').digest() 654 >>> print(b64encode(mac_key).decode('utf-8'))
|