Home
last modified time | relevance | path

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

/freebsd-13.1/sys/sys/
H A Dktls.h114 int auth_key_len; member
129 int auth_key_len; member
155 uint16_t auth_key_len; member
/freebsd-13.1/sys/kern/
H A Duipc_ktls.c464 if (en->auth_key_len < 0 || en->auth_key_len > TLS_MAX_PARAM_SIZE) in ktls_create_session()
498 if (en->auth_key_len != 0) in ktls_create_session()
525 if (en->auth_key_len == 0) in ktls_create_session()
547 if (en->auth_algorithm != 0 || en->auth_key_len != 0) in ktls_create_session()
641 if (en->auth_key_len != 0) { in ktls_create_session()
642 tls->params.auth_key_len = en->auth_key_len; in ktls_create_session()
643 tls->params.auth_key = malloc(en->auth_key_len, M_KTLS, in ktls_create_session()
646 en->auth_key_len); in ktls_create_session()
707 tls_new->params.auth_key = malloc(tls->params.auth_key_len, in ktls_clone_session()
710 tls->params.auth_key_len); in ktls_clone_session()
[all …]
/freebsd-13.1/tests/sys/kern/
H A Dktls_test.c391 u_int auth_key_len, iv_len; in build_tls_enable() local
417 auth_key_len = SHA1_HASH_LEN; in build_tls_enable()
420 auth_key_len = SHA2_256_HASH_LEN; in build_tls_enable()
423 auth_key_len = SHA2_384_HASH_LEN; in build_tls_enable()
426 auth_key_len = 0; in build_tls_enable()
431 en->auth_key = alloc_buffer(auth_key_len); in build_tls_enable()
436 en->auth_key_len = auth_key_len; in build_tls_enable()
660 ATF_REQUIRE(verify_hash(tls_EVP_MD(en), en->auth_key, en->auth_key_len, in decrypt_tls_aes_cbc_mte()
/freebsd-13.1/tools/tools/crypto/
H A Dcryptocheck.c847 size_t cipher_key_len, const char *auth_key, size_t auth_key_len, in ocf_init_eta_session() argument
856 sop.mackeylen = auth_key_len; in ocf_init_eta_session()
911 u_int iv_len, auth_key_len, cipher_key_len, digest_len; in run_eta_test() local
941 auth_key_len = EVP_MD_size(md); in run_eta_test()
945 auth_key = alloc_buffer(auth_key_len); in run_eta_test()
960 if (HMAC(md, auth_key, auth_key_len, (u_char *)ciphertext, in run_eta_test()
966 auth_key_len, &ses)) in run_eta_test()
/freebsd-13.1/crypto/openssl/ssl/
H A Dktls.c102 crypto_info->auth_key_len = mac_secret_size; in ktls_configure_crypto()
/freebsd-13.1/sys/opencrypto/
H A Dktls_ocf.c697 mac_csp.csp_auth_klen = tls->params.auth_key_len; in ktls_ocf_try()
/freebsd-13.1/sys/netinet/
H A Dtcp_usrreq.c1911 tls->auth_key_len = tls_v0.auth_key_len; in copyin_tls_enable()
/freebsd-13.1/sys/dev/cxgbe/tom/
H A Dt4_tls.c959 tls->params.auth_key_len, hash); in init_ktls_key_context()
/freebsd-13.1/sys/dev/cxgbe/crypto/
H A Dt4_kern_tls.c819 tls->params.auth_key, tls->params.auth_key_len, in ktls_setup_keys()