Lines Matching refs:tx
60 kfree(ctx->tx.rec_seq); in tls_device_free_ctx()
61 kfree(ctx->tx.iv); in tls_device_free_ctx()
229 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx()
286 tls_advance_record_sn(sk, prot, &ctx->tx); in tls_push_record()
1064 ctx->tx.iv = kmalloc(iv_size + TLS_CIPHER_AES_GCM_128_SALT_SIZE, in tls_set_device_offload()
1066 if (!ctx->tx.iv) { in tls_set_device_offload()
1071 memcpy(ctx->tx.iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, iv, iv_size); in tls_set_device_offload()
1074 ctx->tx.rec_seq = kmemdup(rec_seq, rec_seq_size, GFP_KERNEL); in tls_set_device_offload()
1075 if (!ctx->tx.rec_seq) { in tls_set_device_offload()
1085 memcpy(&rcd_sn, ctx->tx.rec_seq, sizeof(rcd_sn)); in tls_set_device_offload()
1167 kfree(ctx->tx.rec_seq); in tls_set_device_offload()
1169 kfree(ctx->tx.iv); in tls_set_device_offload()