Lines Matching refs:tls_ctx
281 struct tls_context *tls_ctx, in fill_sg_out() argument
289 get_cipher_desc(tls_ctx->crypto_send.info.cipher_type); in fill_sg_out()
298 static struct sk_buff *tls_enc_skb(struct tls_context *tls_ctx, in tls_enc_skb() argument
304 struct tls_offload_context_tx *ctx = tls_offload_ctx_tx(tls_ctx); in tls_enc_skb()
317 cipher_desc = get_cipher_desc(tls_ctx->crypto_send.info.cipher_type); in tls_enc_skb()
327 salt = crypto_info_salt(&tls_ctx->crypto_send.info, cipher_desc); in tls_enc_skb()
338 fill_sg_out(sg_out, buf, tls_ctx, nskb, tcp_payload_offset, in tls_enc_skb()
343 &tls_ctx->prot_info) < 0) in tls_enc_skb()
367 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_sw_fallback() local
368 struct tls_offload_context_tx *ctx = tls_offload_ctx_tx(tls_ctx); in tls_sw_fallback()
400 nskb = tls_enc_skb(tls_ctx, sg_out, sg_in, skb, sync_size, rcd_sn); in tls_sw_fallback()