Home
last modified time | relevance | path

Searched refs:hmac_keylen (Results 1 – 5 of 5) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_worker_process.cc185 ticket_key.hmac_keylen = EVP_MD_size(ticket_key.hmac); in generate_ticket_key()
189 assert(ticket_key.hmac_keylen <= ticket_key.data.hmac_key.size()); in generate_ticket_key()
193 << ", hmac_keylen=" << ticket_key.hmac_keylen; in generate_ticket_key()
314 size_t hmac_keylen; in memcached_get_ticket_key_cb() local
318 hmac_keylen = 16; in memcached_get_ticket_key_cb()
322 hmac_keylen = 32; in memcached_get_ticket_key_cb()
352 key.hmac_keylen = hmac_keylen; in memcached_get_ticket_key_cb()
360 std::copy_n(p, hmac_keylen, std::begin(key.data.hmac_key)); in memcached_get_ticket_key_cb()
361 p += hmac_keylen; in memcached_get_ticket_key_cb()
Dshrpx_config_test.cc191 CU_ASSERT(16 == key->hmac_keylen); in test_shrpx_config_read_tls_ticket_key_file()
201 CU_ASSERT(16 == key->hmac_keylen); in test_shrpx_config_read_tls_ticket_key_file()
Dshrpx_config.cc168 auto hmac_keylen = EVP_MD_size(hmac); in read_tls_ticket_key_file() local
172 hmac_keylen = 16; in read_tls_ticket_key_file()
174 auto expectedlen = keys[0].data.name.size() + enc_keylen + hmac_keylen; in read_tls_ticket_key_file()
212 key.hmac_keylen = hmac_keylen; in read_tls_ticket_key_file()
216 << ", hmac_keylen=" << key.hmac_keylen; in read_tls_ticket_key_file()
224 std::copy_n(p, hmac_keylen, std::begin(key.data.hmac_key)); in read_tls_ticket_key_file()
Dshrpx_tls.cc510 HMAC_Init_ex(hctx, key.data.hmac_key.data(), key.hmac_keylen, key.hmac, in ticket_key_cb()
538 HMAC_Init_ex(hctx, key.data.hmac_key.data(), key.hmac_keylen, key.hmac, in ticket_key_cb()
Dshrpx_config.h532 size_t hmac_keylen; member