Lines Matching refs:rcd_sn
226 u8 *rcd_sn; in tls_device_resync_tx() local
232 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx()
234 trace_tls_device_tx_resync_send(sk, seq, rcd_sn); in tls_device_resync_tx()
239 rcd_sn, in tls_device_resync_tx()
683 struct sock *sk, u32 seq, u8 *rcd_sn) in tls_device_resync_rx() argument
688 trace_tls_device_rx_resync_send(sk, seq, rcd_sn, rx_ctx->resync_type); in tls_device_resync_rx()
692 netdev->tlsdev_ops->tls_dev_resync(netdev, sk, seq, rcd_sn, in tls_device_resync_rx()
758 u8 rcd_sn[TLS_MAX_REC_SEQ_SIZE]; in tls_device_rx_resync_new_rec() local
772 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_rx_resync_new_rec()
801 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_rx_resync_new_rec()
812 tls_bigint_subtract(rcd_sn, rcd_delta); in tls_device_rx_resync_new_rec()
816 tls_device_resync_rx(tls_ctx, sk, seq, rcd_sn); in tls_device_rx_resync_new_rec()
856 u8 rcd_sn[TLS_MAX_REC_SEQ_SIZE]; in tls_device_core_ctrl_rx_resync() local
858 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync()
859 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync()
862 rcd_sn); in tls_device_core_ctrl_rx_resync()
1026 __be64 rcd_sn; in tls_set_device_offload() local
1099 memcpy(&rcd_sn, ctx->tx.rec_seq, sizeof(rcd_sn)); in tls_set_device_offload()
1100 offload_ctx->unacked_record_sn = be64_to_cpu(rcd_sn) - 1; in tls_set_device_offload()