Lines Matching refs:cipher_algorithm
529 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()
1233 if (en->cipher_algorithm == CRYPTO_AES_CBC && !ktls_cbc_enable) in ktls_enable_rx()
1315 if (en->cipher_algorithm == CRYPTO_AES_CBC && !ktls_cbc_enable) in ktls_enable_tx()
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()
2047 if (tls->params.cipher_algorithm == CRYPTO_AES_CBC) { in ktls_frame()
2103 if (tls->params.cipher_algorithm == CRYPTO_AES_NIST_GCM_16 && in ktls_frame()
2108 } else if (tls->params.cipher_algorithm == CRYPTO_AES_CBC && in ktls_frame()
2135 return (tls->params.cipher_algorithm == CRYPTO_AES_CBC && in ktls_permit_empty_frames()