Home
last modified time | relevance | path

Searched refs:rcd_sn (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/net/tls/
Dtls_device_fallback.c50 char *iv, __be64 rcd_sn, in tls_enc_record() argument
76 (char *)&rcd_sn, sizeof(rcd_sn), buf[0], in tls_enc_record()
143 u64 rcd_sn, int len) in tls_enc_records() argument
153 cpu_to_be64(rcd_sn), &in, &out, &len); in tls_enc_records()
154 rcd_sn++; in tls_enc_records()
231 u64 *rcd_sn, in fill_sg_in() argument
244 record = tls_get_record(ctx, tcp_seq, rcd_sn); in fill_sg_in()
311 s32 sync_size, u64 rcd_sn) in tls_enc_skb() argument
351 rcd_sn, sync_size + payload_len) < 0) in tls_enc_skb()
383 u64 rcd_sn; in tls_sw_fallback() local
[all …]
Dtls_device.c211 u8 *rcd_sn; in tls_device_resync_tx() local
217 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx()
223 rcd_sn, in tls_device_resync_tx()
646 struct sock *sk, u32 seq, u8 *rcd_sn) in tls_device_resync_rx() argument
654 netdev->tlsdev_ops->tls_dev_resync(netdev, sk, seq, rcd_sn, in tls_device_resync_rx()
663 u8 rcd_sn[TLS_MAX_REC_SEQ_SIZE]; in tls_device_rx_resync_new_rec() local
674 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_rx_resync_new_rec()
699 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_rx_resync_new_rec()
703 tls_device_resync_rx(tls_ctx, sk, seq, rcd_sn); in tls_device_rx_resync_new_rec()
742 u8 rcd_sn[TLS_MAX_REC_SEQ_SIZE]; in tls_device_core_ctrl_rx_resync() local
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls_rxtx.c49 u64 rcd_sn; member
110 record = tls_get_record(&context->base, tcp_seq, &info->rcd_sn); in mlx5e_tls_get_sync_data()
145 int headln, __be64 rcd_sn) in mlx5e_tls_complete_sync_skb() argument
158 memcpy(nskb->data + headln, &rcd_sn, sizeof(rcd_sn)); in mlx5e_tls_complete_sync_skb()
232 linear_len += headln + sizeof(info.rcd_sn); in mlx5e_tls_handle_ooo()
249 cpu_to_be64(info.rcd_sn)); in mlx5e_tls_handle_ooo()
Dktls_tx.c182 u64 rcd_sn; member
205 record = tls_get_record(tx_ctx, tcp_seq, &info->rcd_sn); in tx_sync_info_get()
239 u64 rcd_sn) in tx_post_resync_params() argument
242 __be64 rn_be = cpu_to_be64(rcd_sn); in tx_post_resync_params()
364 tx_post_resync_params(sq, priv_tx, info.rcd_sn); in mlx5e_ktls_tx_handle_ooo()
381 tx_post_resync_params(sq, priv_tx, info.rcd_sn); in mlx5e_ktls_tx_handle_ooo()
Dtls.c170 u64 rcd_sn = *(u64 *)rcd_sn_data; in mlx5e_tls_resync() local
177 be64_to_cpu(rcd_sn)); in mlx5e_tls_resync()
178 mlx5_accel_tls_resync_rx(priv->mdev, rx_ctx->handle, seq, rcd_sn); in mlx5e_tls_resync()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dtls.c60 u64 rcd_sn) in mlx5_accel_tls_resync_rx() argument
62 return mlx5_fpga_tls_resync_rx(mdev, handle, seq, rcd_sn); in mlx5_accel_tls_resync_rx()
Dtls.h113 u64 rcd_sn);
129 u32 seq, u64 rcd_sn) { return 0; } in mlx5_accel_tls_resync_rx() argument
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dtls.c198 u64 rcd_sn) in mlx5_fpga_tls_resync_rx() argument
224 MLX5_SET64(tls_cmd, cmd, tls_rcd_sn, be64_to_cpu(rcd_sn)); in mlx5_fpga_tls_resync_rx()
512 __be64 *rcd_sn) in mlx5_fpga_tls_set_aes_gcm128_ctx() argument
536 __be64 rcd_sn; in mlx5_fpga_tls_set_key_material() local
542 mlx5_fpga_tls_set_aes_gcm128_ctx(cmd, crypto_info, &rcd_sn); in mlx5_fpga_tls_set_key_material()
Dtls.h72 u64 rcd_sn);
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c422 u8 *rcd_sn, enum tls_offload_ctx_dir direction) in nfp_net_tls_resync() argument
443 memcpy(req->rec_no, rcd_sn, sizeof(req->rec_no)); in nfp_net_tls_resync()
/Linux-v5.4/include/net/
Dtls.h306 struct sock *sk, u32 seq, u8 *rcd_sn,