Home
last modified time | relevance | path

Searched refs:mac_key (Results 1 - 10 of 10) sorted by relevance

/third_party/node/deps/openssl/openssl/ssl/
H A Dktls.c61 unsigned char *key, unsigned char *mac_key, in ktls_configure_crypto()
94 crypto_info->auth_key = mac_key; in ktls_configure_crypto()
163 unsigned char *key, unsigned char *mac_key, in ktls_configure_crypto()
58 ktls_configure_crypto(const SSL *s, const EVP_CIPHER *c, EVP_CIPHER_CTX *dd, void *rl_sequence, ktls_crypto_info_t *crypto_info, unsigned char **rec_seq, unsigned char *iv, unsigned char *key, unsigned char *mac_key, size_t mac_secret_size) ktls_configure_crypto() argument
160 ktls_configure_crypto(const SSL *s, const EVP_CIPHER *c, EVP_CIPHER_CTX *dd, void *rl_sequence, ktls_crypto_info_t *crypto_info, unsigned char **rec_seq, unsigned char *iv, unsigned char *key, unsigned char *mac_key, size_t mac_secret_size) ktls_configure_crypto() argument
H A Dt1_enc.c199 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 Dssl_local.h2824 unsigned char *key, unsigned char *mac_key,
/third_party/openssl/ssl/
H A Dktls.c61 unsigned char *key, unsigned char *mac_key, in ktls_configure_crypto()
94 crypto_info->auth_key = mac_key; in ktls_configure_crypto()
163 unsigned char *key, unsigned char *mac_key, in ktls_configure_crypto()
58 ktls_configure_crypto(const SSL *s, const EVP_CIPHER *c, EVP_CIPHER_CTX *dd, void *rl_sequence, ktls_crypto_info_t *crypto_info, unsigned char **rec_seq, unsigned char *iv, unsigned char *key, unsigned char *mac_key, size_t mac_secret_size) ktls_configure_crypto() argument
160 ktls_configure_crypto(const SSL *s, const EVP_CIPHER *c, EVP_CIPHER_CTX *dd, void *rl_sequence, ktls_crypto_info_t *crypto_info, unsigned char **rec_seq, unsigned char *iv, unsigned char *key, unsigned char *mac_key, size_t mac_secret_size) ktls_configure_crypto() argument
H A Dt1_enc.c199 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 Dssl_local.h2768 unsigned char *key, unsigned char *mac_key,
/third_party/node/deps/openssl/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()
/third_party/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()
/third_party/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.c544 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()
838 if (expected->mac_key != NULL in cipher_test_enc()
841 (void *)expected->mac_key) <= 0) { in cipher_test_enc()

Completed in 22 milliseconds