Home
last modified time | relevance | path

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

/freebsd-13.1/sys/opencrypto/
H A Dktls_ocf.c368 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in ktls_ocf_tls12_aead_encrypt()
383 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_encrypt()
427 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_encrypt()
461 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in ktls_ocf_tls12_aead_decrypt()
476 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_decrypt()
497 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_decrypt()
588 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls13_aead_encrypt()
625 switch (tls->params.cipher_algorithm) { in ktls_ocf_try()
753 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16 || in ktls_ocf_try()
754 tls->params.cipher_algorithm == CRYPTO_CHACHA20_POLY1305) { in ktls_ocf_try()
/freebsd-13.1/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-13.1/crypto/openssl/ssl/
H A Dktls.c72 crypto_info->cipher_algorithm = CRYPTO_AES_NIST_GCM_16; in ktls_configure_crypto()
80 crypto_info->cipher_algorithm = CRYPTO_CHACHA20_POLY1305; in ktls_configure_crypto()
99 crypto_info->cipher_algorithm = CRYPTO_AES_CBC; in ktls_configure_crypto()
/freebsd-13.1/sys/kern/
H A Duipc_ktls.c480 switch (en->cipher_algorithm) { in ktls_create_session()
568 tls->params.cipher_algorithm = en->cipher_algorithm; in ktls_create_session()
577 switch (en->cipher_algorithm) { in ktls_create_session()
676 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16 && in ktls_create_session()
730 switch (tls->params.cipher_algorithm) { in ktls_cleanup()
744 switch (tls->params.cipher_algorithm) { in ktls_cleanup()
760 switch (tls->params.cipher_algorithm) { in ktls_cleanup()
821 switch (tls->params.cipher_algorithm) { in ktls_try_toe()
946 switch (tls->params.cipher_algorithm) { in ktls_try_ifnet()
992 switch (tls->params.cipher_algorithm) { in ktls_try_sw()
[all …]
/freebsd-13.1/tests/sys/kern/
H A Dktls_test.c432 en->cipher_algorithm = cipher_alg; in build_tls_enable()
453 switch (en->cipher_algorithm) { in tls_EVP_CIPHER()
502 switch (en->cipher_algorithm) { in tls_header_len()
521 switch (en->cipher_algorithm) { in tls_mac_len()
549 if (en->cipher_algorithm == CRYPTO_AES_CBC) in tls_trailer_len()
687 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in decrypt_tls_12_aead()
771 if (en->cipher_algorithm == CRYPTO_AES_CBC) in decrypt_tls_record()
803 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in encrypt_tls_12_aead()
807 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in encrypt_tls_12_aead()
1066 ATF_REQUIRE(en->cipher_algorithm == CRYPTO_AES_CBC); in test_ktls_transmit_empty_fragment()
/freebsd-13.1/sys/dev/cxgbe/tom/
H A Dt4_tls.c918 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in init_ktls_key_context()
993 switch (tls->params.cipher_algorithm) { in tls_alloc_ktls()
1083 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in tls_alloc_ktls()
/freebsd-13.1/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_hw_tls.c344 switch (en->cipher_algorithm) { in mlx5e_tls_snd_tag_alloc()
/freebsd-13.1/sys/netinet/
H A Dtcp_usrreq.c1907 tls->cipher_algorithm = tls_v0.cipher_algorithm; in copyin_tls_enable()
/freebsd-13.1/sys/dev/cxgbe/crypto/
H A Dt4_kern_tls.c265 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in init_ktls_key_params()
553 switch (tls->params.cipher_algorithm) { in cxgbe_tls_tag_alloc()