/netbsd-src/crypto/external/bsd/openssl/dist/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 );
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/kdf/ |
H A 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()
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
H A 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()
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/ |
H A 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()
|
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/ |
H A D | ktls.c | 61 unsigned char *key, unsigned char *mac_key, in ktls_configure_crypto() argument 94 crypto_info->auth_key = mac_key; in ktls_configure_crypto() 163 unsigned char *key, unsigned char *mac_key, in ktls_configure_crypto() argument
|
H A D | t1_enc.c | 199 EVP_PKEY *mac_key; in tls1_change_cipher_state() local 366 mac_key = EVP_PKEY_new_raw_private_key_ex(s->ctx->libctx, "HMAC", in tls1_change_cipher_state() 375 mac_key = EVP_PKEY_new_mac_key(mac_type, NULL, mac_secret, in tls1_change_cipher_state() 378 if (mac_key == NULL in tls1_change_cipher_state() 380 s->ctx->libctx, s->ctx->propq, mac_key, in tls1_change_cipher_state() 382 EVP_PKEY_free(mac_key); in tls1_change_cipher_state() 386 EVP_PKEY_free(mac_key); in tls1_change_cipher_state()
|
H A D | ssl_local.h | 2768 unsigned char *key, unsigned char *mac_key,
|
/netbsd-src/crypto/external/bsd/openssl/dist/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()
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
H A 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()
|
/netbsd-src/crypto/external/bsd/openssl/dist/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 | 544 unsigned char *mac_key; member 607 OPENSSL_free(cdat->mac_key); in cipher_test_cleanup() 665 return parse_bin(value, &cdat->mac_key, &cdat->mac_key_len); in cipher_test_parse() 849 if (expected->mac_key != NULL in cipher_test_enc() 852 (void *)expected->mac_key) <= 0) { in cipher_test_enc()
|