Home
last modified time | relevance | path

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

/openssl/util/
H A Dmk-fipsmodule-cnf.pl31 my $mac_key;
35 GetOptions("key=s" => \$mac_key,
40 my $mac_keylen = length($mac_key);
52 = ( uc(hmac_sha256_hex($data, pack("H$mac_keylen", $mac_key))) =~ m/../g );
/openssl/ssl/record/methods/
H A Dtls1_meth.c30 EVP_PKEY *mac_key; in tls1_set_crypto_state() local
64 mac_key = EVP_PKEY_new_raw_private_key_ex(rl->libctx, "HMAC", in tls1_set_crypto_state()
73 mac_key = EVP_PKEY_new_mac_key(mactype, NULL, mackey, in tls1_set_crypto_state()
76 if (mac_key == NULL in tls1_set_crypto_state()
78 rl->libctx, rl->propq, mac_key, in tls1_set_crypto_state()
80 EVP_PKEY_free(mac_key); in tls1_set_crypto_state()
84 EVP_PKEY_free(mac_key); in tls1_set_crypto_state()
H A Dktls_meth.c79 unsigned char *mac_key, size_t mac_secret_size) in ktls_configure_crypto() argument
106 crypto_info->auth_key = mac_key; in ktls_configure_crypto()
178 unsigned char *mac_key, size_t mac_secret_size) in ktls_configure_crypto() argument
/openssl/crypto/evp/
H A Dpmeth_gn.c320 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 Dbad_dtls_test.c59 #define mac_key (key_block + 20) macro
317 if (!EVP_MAC_init(ctx, mac_key, 20, params) in send_record()
H A Devp_test.c892 unsigned char *mac_key; member
985 OPENSSL_free(cdat->mac_key); in cipher_test_cleanup()
1044 return parse_bin(value, &cdat->mac_key, &cdat->mac_key_len); in cipher_test_parse()
1249 if (expected->mac_key != NULL in cipher_test_enc()
1252 (void *)expected->mac_key) <= 0) { in cipher_test_enc()

Completed in 32 milliseconds