/Linux-v5.4/net/tls/ |
D | tls_device_fallback.c | 50 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 …]
|
D | tls_device.c | 211 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/ |
D | tls_rxtx.c | 49 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()
|
D | ktls_tx.c | 182 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()
|
D | tls.c | 170 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/ |
D | tls.c | 60 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()
|
D | tls.h | 113 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/ |
D | tls.c | 198 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()
|
D | tls.h | 72 u64 rcd_sn);
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 422 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/ |
D | tls.h | 306 struct sock *sk, u32 seq, u8 *rcd_sn,
|