Lines Matching refs:rcd_sn
235 u8 *rcd_sn; in tls_device_resync_tx() local
238 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx()
240 trace_tls_device_tx_resync_send(sk, seq, rcd_sn); in tls_device_resync_tx()
246 rcd_sn, in tls_device_resync_tx()
694 struct sock *sk, u32 seq, u8 *rcd_sn) in tls_device_resync_rx() argument
699 trace_tls_device_rx_resync_send(sk, seq, rcd_sn, rx_ctx->resync_type); in tls_device_resync_rx()
703 netdev->tlsdev_ops->tls_dev_resync(netdev, sk, seq, rcd_sn, in tls_device_resync_rx()
769 u8 rcd_sn[TLS_MAX_REC_SEQ_SIZE]; in tls_device_rx_resync_new_rec() local
783 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_rx_resync_new_rec()
812 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_rx_resync_new_rec()
823 tls_bigint_subtract(rcd_sn, rcd_delta); in tls_device_rx_resync_new_rec()
827 tls_device_resync_rx(tls_ctx, sk, seq, rcd_sn); in tls_device_rx_resync_new_rec()
867 u8 rcd_sn[TLS_MAX_REC_SEQ_SIZE]; in tls_device_core_ctrl_rx_resync() local
869 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync()
870 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync()
873 rcd_sn); in tls_device_core_ctrl_rx_resync()
1036 __be64 rcd_sn; in alloc_offload_ctx_tx() local
1049 memcpy(&rcd_sn, ctx->tx.rec_seq, sizeof(rcd_sn)); in alloc_offload_ctx_tx()
1050 offload_ctx->unacked_record_sn = be64_to_cpu(rcd_sn) - 1; in alloc_offload_ctx_tx()