Lines Matching refs:tls_ctx
305 struct tls_context *tls_ctx,
313 get_cipher_desc(tls_ctx->crypto_send.info.cipher_type);
322 static struct sk_buff *tls_enc_skb(struct tls_context *tls_ctx,
328 struct tls_offload_context_tx *ctx = tls_offload_ctx_tx(tls_ctx);
341 switch (tls_ctx->crypto_send.info.cipher_type) {
343 salt = tls_ctx->crypto_send.aes_gcm_128.salt;
346 salt = tls_ctx->crypto_send.aes_gcm_256.salt;
351 cipher_desc = get_cipher_desc(tls_ctx->crypto_send.info.cipher_type);
369 fill_sg_out(sg_out, buf, tls_ctx, nskb, tcp_payload_offset,
374 &tls_ctx->prot_info) < 0)
398 struct tls_context *tls_ctx = tls_get_ctx(sk);
399 struct tls_offload_context_tx *ctx = tls_offload_ctx_tx(tls_ctx);
431 nskb = tls_enc_skb(tls_ctx, sg_out, sg_in, skb, sync_size, rcd_sn);