Home
last modified time | relevance | path

Searched refs:hmac_key (Results 1 – 9 of 9) sorted by relevance

/openbsd/lib/libtls/
H A Dtls_server.c197 if (!HMAC_Init_ex(hctx, key->hmac_key, sizeof(key->hmac_key), in tls_server_ticket_cb()
216 if (!HMAC_Init_ex(hctx, key->hmac_key, sizeof(key->hmac_key), in tls_server_ticket_cb()
H A Dtls_config.c904 sizeof(newkey.aes_key) + sizeof(newkey.hmac_key) > keylen) { in tls_config_add_ticket_key()
914 memcpy(newkey.hmac_key, key + sizeof(newkey.aes_key), in tls_config_add_ticket_key()
915 sizeof(newkey.hmac_key)); in tls_config_add_ticket_key()
926 sizeof(tk->aes_key)) == 0 && memcmp(newkey.hmac_key, in tls_config_add_ticket_key()
927 tk->hmac_key, sizeof(tk->hmac_key)) == 0) in tls_config_add_ticket_key()
H A Dtls_internal.h78 unsigned char hmac_key[TLS_TICKET_HMAC_SIZE]; member
/openbsd/usr.bin/openssl/
H A Ddgst.c85 char *hmac_key; member
206 .opt.arg = &cfg.hmac_key,
413 !!cfg.hmac_key) > 1) { in dgst_main()
464 if (cfg.hmac_key) { in dgst_main()
466 (unsigned char *) cfg.hmac_key, -1); in dgst_main()
/openbsd/sbin/unwind/libunbound/util/
H A Dnet_help.c98 unsigned char *hmac_key; member
1698 keys->hmac_key = data + 48; in listen_sslctx_setup_ticket_keys()
1760 ticket_keys->hmac_key, 32); in tls_session_ticket_key_cb()
1770 if (HMAC_Init_ex(hmac_ctx, ticket_keys->hmac_key, 32, digest, NULL) != 1) { in tls_session_ticket_key_cb()
1775 HMAC_Init_ex(hmac_ctx, ticket_keys->hmac_key, 32, digest, NULL); in tls_session_ticket_key_cb()
1795 key->hmac_key, 32); in tls_session_ticket_key_cb()
1805 if (HMAC_Init_ex(hmac_ctx, key->hmac_key, 32, digest, NULL) != 1) { in tls_session_ticket_key_cb()
1810 HMAC_Init_ex(hmac_ctx, key->hmac_key, 32, digest, NULL); in tls_session_ticket_key_cb()
/openbsd/usr.sbin/unbound/util/
H A Dnet_help.c98 unsigned char *hmac_key; member
1698 keys->hmac_key = data + 48; in listen_sslctx_setup_ticket_keys()
1760 ticket_keys->hmac_key, 32); in tls_session_ticket_key_cb()
1770 if (HMAC_Init_ex(hmac_ctx, ticket_keys->hmac_key, 32, digest, NULL) != 1) { in tls_session_ticket_key_cb()
1775 HMAC_Init_ex(hmac_ctx, ticket_keys->hmac_key, 32, digest, NULL); in tls_session_ticket_key_cb()
1795 key->hmac_key, 32); in tls_session_ticket_key_cb()
1805 if (HMAC_Init_ex(hmac_ctx, key->hmac_key, 32, digest, NULL) != 1) { in tls_session_ticket_key_cb()
1810 HMAC_Init_ex(hmac_ctx, key->hmac_key, 32, digest, NULL); in tls_session_ticket_key_cb()
/openbsd/regress/usr.bin/openssl/
H A Dappstest.sh169 hmac_key="test-hmac-key"
192 $openssl_bin dgst -$d -c -hmac $hmac_key -out $dgstdat.$d.hmac \
/openbsd/usr.sbin/unbound/
H A Dconfigure.ac1045 void* hmac_key = NULL;
1047 int x = HMAC_Init_ex(hmac_ctx, hmac_key, 32, digest, NULL);
H A Dconfigure21111 void* hmac_key = NULL;
21113 int x = HMAC_Init_ex(hmac_ctx, hmac_key, 32, digest, NULL);