Lines Matching refs:rec_seq
518 xor_iv_with_seq(prot, rec->iv_data, tls_ctx->tx.rec_seq); in tls_do_encryption()
761 tls_ctx->tx.rec_seq, record_type, prot); in tls_push_record()
1490 xor_iv_with_seq(prot, iv, tls_ctx->rx.rec_seq); in decrypt_internal()
1495 tls_ctx->rx.rec_seq, ctx->control, prot); in decrypt_internal()
2209 kfree(tls_ctx->rx.rec_seq); in tls_sw_release_resources_rx()
2316 char *iv, *rec_seq, *key, *salt, *cipher_name; in tls_set_sw_offload() local
2376 rec_seq = in tls_set_sw_offload()
2377 ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->rec_seq; in tls_set_sw_offload()
2393 rec_seq = in tls_set_sw_offload()
2394 ((struct tls12_crypto_info_aes_gcm_256 *)crypto_info)->rec_seq; in tls_set_sw_offload()
2410 rec_seq = in tls_set_sw_offload()
2411 ((struct tls12_crypto_info_aes_ccm_128 *)crypto_info)->rec_seq; in tls_set_sw_offload()
2428 rec_seq = chacha20_poly1305_info->rec_seq; in tls_set_sw_offload()
2474 cctx->rec_seq = kmemdup(rec_seq, rec_seq_size, GFP_KERNEL); in tls_set_sw_offload()
2475 if (!cctx->rec_seq) { in tls_set_sw_offload()
2524 kfree(cctx->rec_seq); in tls_set_sw_offload()
2525 cctx->rec_seq = NULL; in tls_set_sw_offload()