Lines Matching refs:crypto_info
2208 struct tls_crypto_info *crypto_info; in tls_set_sw_offload() local
2256 crypto_info = &ctx->crypto_send.info; in tls_set_sw_offload()
2264 crypto_info = &ctx->crypto_recv.info; in tls_set_sw_offload()
2270 switch (crypto_info->cipher_type) { in tls_set_sw_offload()
2275 iv = ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->iv; in tls_set_sw_offload()
2278 ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->rec_seq; in tls_set_sw_offload()
2280 (struct tls12_crypto_info_aes_gcm_128 *)crypto_info; in tls_set_sw_offload()
2292 iv = ((struct tls12_crypto_info_aes_gcm_256 *)crypto_info)->iv; in tls_set_sw_offload()
2295 ((struct tls12_crypto_info_aes_gcm_256 *)crypto_info)->rec_seq; in tls_set_sw_offload()
2297 (struct tls12_crypto_info_aes_gcm_256 *)crypto_info; in tls_set_sw_offload()
2309 iv = ((struct tls12_crypto_info_aes_ccm_128 *)crypto_info)->iv; in tls_set_sw_offload()
2312 ((struct tls12_crypto_info_aes_ccm_128 *)crypto_info)->rec_seq; in tls_set_sw_offload()
2314 (struct tls12_crypto_info_aes_ccm_128 *)crypto_info; in tls_set_sw_offload()
2334 if (crypto_info->version == TLS_1_3_VERSION) { in tls_set_sw_offload()
2343 prot->version = crypto_info->version; in tls_set_sw_offload()
2344 prot->cipher_type = crypto_info->cipher_type; in tls_set_sw_offload()
2389 if (crypto_info->version == TLS_1_3_VERSION) in tls_set_sw_offload()