Home
last modified time | relevance | path

Searched refs:cipher_algorithm (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/sys/dev/cxgbe/crypto/
H A Dt4_keyctx.c417 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in t4_tls_key_info_size()
450 switch (tls->params.cipher_algorithm) { in t4_tls_cipher_mode()
463 switch (tls->params.cipher_algorithm) { in t4_tls_auth_mode()
485 switch (tls->params.cipher_algorithm) { in t4_tls_hmac_ctrl()
513 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in tls_mac_key_size()
545 if (tls->params.cipher_algorithm == CRYPTO_AES_CBC) in t4_tls_key_ctx()
569 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in t4_tls_key_ctx()
598 tls->params.cipher_algorithm == CRYPTO_AES_CBC) in t4_tls_key_ctx()
607 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in t4_tls_key_ctx()
H A Dt6_kern_tls.c395 switch (tls->params.cipher_algorithm) { in t6_tls_tag_alloc()
/freebsd-14.2/sys/sys/
H A Dktls.h110 int cipher_algorithm; /* e.g. CRYPTO_AES_CBC */ member
125 int cipher_algorithm; /* e.g. CRYPTO_AES_CBC */ member
151 int cipher_algorithm; member
/freebsd-14.2/sys/opencrypto/
H A Dktls_ocf.c568 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in ktls_ocf_tls12_aead_encrypt()
614 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_encrypt()
652 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in ktls_ocf_tls12_aead_decrypt()
667 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_decrypt()
688 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_decrypt()
748 KASSERT(tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16, in ktls_ocf_tls12_aead_recrypt()
844 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls13_aead_encrypt()
903 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls13_aead_decrypt()
999 switch (tls->params.cipher_algorithm) { in ktls_ocf_try()
1135 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16 || in ktls_ocf_try()
[all …]
/freebsd-14.2/crypto/openssl/ssl/
H A Dktls.c133 crypto_info->cipher_algorithm = CRYPTO_AES_NIST_GCM_16; in ktls_configure_crypto()
144 crypto_info->cipher_algorithm = CRYPTO_CHACHA20_POLY1305; in ktls_configure_crypto()
163 crypto_info->cipher_algorithm = CRYPTO_AES_CBC; in ktls_configure_crypto()
/freebsd-14.2/sys/kern/
H A Duipc_ktls.c529 switch (en->cipher_algorithm) { in ktls_create_session()
628 tls->params.cipher_algorithm = en->cipher_algorithm; in ktls_create_session()
637 switch (en->cipher_algorithm) { in ktls_create_session()
736 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16 && in ktls_create_session()
818 switch (tls->params.cipher_algorithm) { in ktls_try_toe()
1044 switch (tls->params.cipher_algorithm) { in ktls_try_ifnet()
1065 switch (tls->params.cipher_algorithm) { in ktls_use_sw()
1909 switch (tls->params.cipher_algorithm) { in ktls_destroy()
1922 switch (tls->params.cipher_algorithm) { in ktls_destroy()
1946 switch (tls->params.cipher_algorithm) { in ktls_destroy()
[all …]
/freebsd-14.2/tests/sys/kern/
H A Dktls_test.c594 en->cipher_algorithm = cipher_alg; in build_tls_enable()
616 switch (en->cipher_algorithm) { in tls_EVP_CIPHER()
665 switch (en->cipher_algorithm) { in tls_header_len()
684 switch (en->cipher_algorithm) { in tls_mac_len()
712 if (en->cipher_algorithm == CRYPTO_AES_CBC) in tls_trailer_len()
726 if (en->cipher_algorithm == CRYPTO_AES_CBC) in tls_minimum_record_payload()
879 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in decrypt_tls_12_aead()
972 if (en->cipher_algorithm == CRYPTO_AES_CBC) in decrypt_tls_record()
1069 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in encrypt_tls_12_aead()
1165 if (en->cipher_algorithm == CRYPTO_AES_CBC) in encrypt_tls_record()
[all …]
/freebsd-14.2/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_hw_tls.c364 switch (en->cipher_algorithm) { in mlx5e_tls_snd_tag_alloc()
H A Dmlx5_en_hw_tls_rx.c708 switch (en->cipher_algorithm) { in mlx5e_tls_rx_snd_tag_alloc()
/freebsd-14.2/sys/dev/cxgbe/tom/
H A Dt4_tls.c231 switch (tls->params.cipher_algorithm) { in tls_alloc_ktls()
/freebsd-14.2/sys/netinet/
H A Dtcp_usrreq.c1899 tls->cipher_algorithm = tls_v0.cipher_algorithm; in copyin_tls_enable()