Searched refs:mac_key (Results 1 – 8 of 8) sorted by relevance
/openssl/util/ |
H A D | mk-fipsmodule-cnf.pl | 14 my $mac_key; 18 GetOptions("key=s" => \$mac_key, 23 my $mac_keylen = length($mac_key); 35 = ( uc(hmac_sha256_hex($data, pack("H$mac_keylen", $mac_key))) =~ m/../g );
|
/openssl/ssl/record/methods/ |
H A D | tls1_meth.c | 28 EVP_PKEY *mac_key; in tls1_set_crypto_state() local 61 mac_key = EVP_PKEY_new_raw_private_key_ex(rl->libctx, "HMAC", in tls1_set_crypto_state() 70 mac_key = EVP_PKEY_new_mac_key(mactype, NULL, mackey, in tls1_set_crypto_state() 73 if (mac_key == NULL in tls1_set_crypto_state() 75 rl->libctx, rl->propq, mac_key, in tls1_set_crypto_state() 77 EVP_PKEY_free(mac_key); in tls1_set_crypto_state() 81 EVP_PKEY_free(mac_key); in tls1_set_crypto_state()
|
H A D | ktls_meth.c | 117 unsigned char *mac_key, size_t mac_secret_size) argument 144 crypto_info->auth_key = mac_key; 259 unsigned char *mac_key, size_t mac_secret_size)
|
/openssl/ssl/ |
H A D | t1_enc.c | 164 EVP_PKEY *mac_key; in tls1_change_cipher_state() local 318 mac_key = EVP_PKEY_new_raw_private_key_ex(sctx->libctx, "HMAC", in tls1_change_cipher_state() 327 mac_key = EVP_PKEY_new_mac_key(mac_type, NULL, mac_secret, in tls1_change_cipher_state() 330 if (mac_key == NULL in tls1_change_cipher_state() 332 sctx->libctx, sctx->propq, mac_key, in tls1_change_cipher_state() 334 EVP_PKEY_free(mac_key); in tls1_change_cipher_state() 338 EVP_PKEY_free(mac_key); in tls1_change_cipher_state()
|
H A D | ssl_local.h | 2864 unsigned char *mac_key, size_t mac_secret_size);
|
/openssl/crypto/evp/ |
H A D | pmeth_gn.c | 320 EVP_PKEY *mac_key = NULL; in EVP_PKEY_new_mac_key() local 328 if (EVP_PKEY_keygen(mac_ctx, &mac_key) <= 0) in EVP_PKEY_new_mac_key() 332 return mac_key; in EVP_PKEY_new_mac_key()
|
/openssl/test/ |
H A D | bad_dtls_test.c | 59 #define mac_key (key_block + 20) macro 317 if (!EVP_MAC_init(ctx, mac_key, 20, params) in send_record()
|
H A D | evp_test.c | 558 unsigned char *mac_key; member 621 OPENSSL_free(cdat->mac_key); in cipher_test_cleanup() 679 return parse_bin(value, &cdat->mac_key, &cdat->mac_key_len); in cipher_test_parse() 858 if (expected->mac_key != NULL in cipher_test_enc() 861 (void *)expected->mac_key) <= 0) { in cipher_test_enc()
|
Completed in 64 milliseconds