Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_keyctx.c416 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in t4_tls_key_info_size()
449 switch (tls->params.cipher_algorithm) { in t4_tls_cipher_mode()
462 switch (tls->params.cipher_algorithm) { in t4_tls_auth_mode()
484 switch (tls->params.cipher_algorithm) { in t4_tls_hmac_ctrl()
512 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in tls_mac_key_size()
544 if (tls->params.cipher_algorithm == CRYPTO_AES_CBC) in t4_tls_key_ctx()
568 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in t4_tls_key_ctx()
597 tls->params.cipher_algorithm == CRYPTO_AES_CBC) in t4_tls_key_ctx()
606 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in t4_tls_key_ctx()
H A Dt6_kern_tls.c394 switch (tls->params.cipher_algorithm) { in t6_tls_tag_alloc()
/freebsd/sys/opencrypto/
H A Dktls_ocf.c567 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in ktls_ocf_tls12_aead_encrypt()
613 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_encrypt()
651 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in ktls_ocf_tls12_aead_decrypt()
666 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_decrypt()
687 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_decrypt()
747 KASSERT(tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16, in ktls_ocf_tls12_aead_recrypt()
843 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls13_aead_encrypt()
902 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls13_aead_decrypt()
998 switch (tls->params.cipher_algorithm) { in ktls_ocf_try()
1134 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16 || in ktls_ocf_try()
[all …]
/freebsd/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/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/sys/kern/
H A Duipc_ktls.c320 tls->cipher_algorithm = tls_v0.cipher_algorithm; in ktls_copyin_tls_enable()
618 switch (en->cipher_algorithm) { in ktls_create_session()
717 tls->params.cipher_algorithm = en->cipher_algorithm; in ktls_create_session()
726 switch (en->cipher_algorithm) { in ktls_create_session()
817 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16 && in ktls_create_session()
895 switch (tls->params.cipher_algorithm) { in ktls_try_toe()
1121 switch (tls->params.cipher_algorithm) { in ktls_try_ifnet()
1142 switch (tls->params.cipher_algorithm) { in ktls_use_sw()
1967 switch (tls->params.cipher_algorithm) { in ktls_destroy()
1980 switch (tls->params.cipher_algorithm) { in ktls_destroy()
[all …]
/freebsd/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/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/sys/dev/cxgbe/tom/
H A Dt4_tls.c231 switch (tls->params.cipher_algorithm) { in tls_alloc_ktls()