Home
last modified time | relevance | path

Searched refs:cipher_algorithm (Results 1 – 11 of 11) 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()
455 switch (tls->params.cipher_algorithm) { in t4_tls_cipher_mode()
468 switch (tls->params.cipher_algorithm) { in t4_tls_auth_mode()
490 switch (tls->params.cipher_algorithm) { in t4_tls_hmac_ctrl()
529 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in t4_tls_key_ctx()
561 if (tls->params.cipher_algorithm == CRYPTO_AES_CBC) in t4_tls_key_ctx()
585 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in t4_tls_key_ctx()
614 tls->params.cipher_algorithm == CRYPTO_AES_CBC) in t4_tls_key_ctx()
623 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in t4_tls_key_ctx()
H A Dt7_kern_tls.c173 switch (tls->params.cipher_algorithm) { in t7_tls_tag_alloc()
H A Dt6_kern_tls.c394 switch (tls->params.cipher_algorithm) { in t6_tls_tag_alloc()
/freebsd/sys/sys/
H A Dktls.h114 int cipher_algorithm; /* e.g. CRYPTO_AES_CBC */ member
129 int cipher_algorithm; /* e.g. CRYPTO_AES_CBC */ member
155 int cipher_algorithm; member
177 int cipher_algorithm; member
/freebsd/sys/opencrypto/
H A Dktls_ocf.c565 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in ktls_ocf_tls12_aead_encrypt()
611 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_encrypt()
649 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) { in ktls_ocf_tls12_aead_decrypt()
664 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_decrypt()
685 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls12_aead_decrypt()
745 KASSERT(tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16, in ktls_ocf_tls12_aead_recrypt()
841 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls13_aead_encrypt()
900 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in ktls_ocf_tls13_aead_decrypt()
932 KASSERT(tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16, in ktls_ocf_tls13_aead_recrypt()
996 switch (tls->params.cipher_algorithm) { in ktls_ocf_try()
[all …]
/freebsd/sys/kern/
H A Duipc_ktls.c332 tls->cipher_algorithm = tls_v0.cipher_algorithm; in ktls_copyin_tls_enable()
630 switch (en->cipher_algorithm) { in ktls_create_session()
732 tls->params.cipher_algorithm = en->cipher_algorithm; in ktls_create_session()
741 switch (en->cipher_algorithm) { in ktls_create_session()
832 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16 && in ktls_create_session()
906 switch (tls->params.cipher_algorithm) { in ktls_try_toe()
1123 switch (tls->params.cipher_algorithm) { in ktls_try_ifnet()
1144 switch (tls->params.cipher_algorithm) { in ktls_use_sw()
1985 switch (tls->params.cipher_algorithm) { in ktls_destroy()
1998 switch (tls->params.cipher_algorithm) { in ktls_destroy()
[all …]
/freebsd/crypto/openssl/ssl/record/methods/
H A Dktls_meth.c83 crypto_info->cipher_algorithm = CRYPTO_AES_NIST_GCM_16; in ktls_configure_crypto()
88 crypto_info->cipher_algorithm = CRYPTO_CHACHA20_POLY1305; in ktls_configure_crypto()
103 crypto_info->cipher_algorithm = CRYPTO_AES_CBC; in ktls_configure_crypto()
/freebsd/tests/sys/kern/
H A Dktls_test.c626 en->cipher_algorithm = cipher_alg; in build_tls_enable()
648 switch (en->cipher_algorithm) { in tls_EVP_CIPHER()
697 switch (en->cipher_algorithm) { in tls_header_len()
716 switch (en->cipher_algorithm) { in tls_mac_len()
744 if (en->cipher_algorithm == CRYPTO_AES_CBC) in tls_trailer_len()
758 if (en->cipher_algorithm == CRYPTO_AES_CBC) in tls_minimum_record_payload()
911 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in decrypt_tls_12_aead()
1004 if (en->cipher_algorithm == CRYPTO_AES_CBC) in decrypt_tls_record()
1101 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in encrypt_tls_12_aead()
1106 if (en->cipher_algorithm == CRYPTO_AES_NIST_GCM_16) in encrypt_tls_12_aead()
[all …]
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_hw_tls.c471 switch (en->cipher_algorithm) { in mlx5e_tls_snd_tag_alloc()
H A Dmlx5_en_hw_tls_rx.c738 switch (en->cipher_algorithm) { in mlx5e_tls_rx_snd_tag_alloc()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tls.c246 switch (tls->params.cipher_algorithm) { in tls_alloc_ktls()