/linux-6.1.9/net/tls/ |
D | tls_device_fallback.c | 52 char *iv, __be64 rcd_sn, in tls_enc_record() argument 90 tls_make_aad(aad, len - cipher_sz->tag, (char *)&rcd_sn, buf[0], prot); in tls_enc_record() 155 u64 rcd_sn, int len, struct tls_prot_info *prot) in tls_enc_records() argument 165 cpu_to_be64(rcd_sn), &in, &out, &len, prot); in tls_enc_records() 166 rcd_sn++; in tls_enc_records() 243 u64 *rcd_sn, in fill_sg_in() argument 256 record = tls_get_record(ctx, tcp_seq, rcd_sn); in fill_sg_in() 326 s32 sync_size, u64 rcd_sn) in tls_enc_skb() argument 373 rcd_sn, sync_size + payload_len, in tls_enc_skb() 406 u64 rcd_sn; in tls_sw_fallback() local [all …]
|
D | tls_device.c | 236 u8 *rcd_sn; in tls_device_resync_tx() local 242 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx() 244 trace_tls_device_tx_resync_send(sk, seq, rcd_sn); in tls_device_resync_tx() 250 rcd_sn, in tls_device_resync_tx() 721 struct sock *sk, u32 seq, u8 *rcd_sn) in tls_device_resync_rx() argument 726 trace_tls_device_rx_resync_send(sk, seq, rcd_sn, rx_ctx->resync_type); in tls_device_resync_rx() 730 netdev->tlsdev_ops->tls_dev_resync(netdev, sk, seq, rcd_sn, in tls_device_resync_rx() 796 u8 rcd_sn[TLS_MAX_REC_SEQ_SIZE]; in tls_device_rx_resync_new_rec() local 810 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_rx_resync_new_rec() 839 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_rx_resync_new_rec() [all …]
|
D | tls.h | 238 u64 rcd_sn; in tls_bigint_subtract() local 244 rcd_sn = be64_to_cpu(*p); in tls_bigint_subtract() 245 *p = cpu_to_be64(rcd_sn - n); in tls_bigint_subtract()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls.c | 79 struct sock *sk, u32 seq, u8 *rcd_sn, in mlx5e_ktls_resync() argument 85 mlx5e_ktls_rx_resync(netdev, sk, seq, rcd_sn); in mlx5e_ktls_resync()
|
D | ktls_tx.c | 614 u64 rcd_sn; member 638 record = tls_get_record(tx_ctx, tcp_seq, &info->rcd_sn); in tx_sync_info_get() 684 u64 rcd_sn) in tx_post_resync_params() argument 686 __be64 rn_be = cpu_to_be64(rcd_sn); in tx_post_resync_params() 794 tx_post_resync_params(sq, priv_tx, info.rcd_sn); in mlx5e_ktls_tx_handle_ooo()
|
D | ktls_utils.h | 28 void mlx5e_ktls_rx_resync(struct net_device *netdev, struct sock *sk, u32 seq, u8 *rcd_sn);
|
D | ktls_rx.c | 540 u32 seq, u8 *rcd_sn) in mlx5e_ktls_rx_resync() argument 552 resync->sw_rcd_sn_be = *(__be64 *)rcd_sn; in mlx5e_ktls_rx_resync()
|
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/ |
D | funeth_ktls.c | 96 u8 *rcd_sn, enum tls_offload_ctx_dir direction) in fun_ktls_resync() argument 117 memcpy(req.record_seq, rcd_sn, sizeof(req.record_seq)); in fun_ktls_resync()
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 424 u8 *rcd_sn, enum tls_offload_ctx_dir direction) in nfp_net_tls_resync() argument 446 memcpy(req->rec_no, rcd_sn, sizeof(req->rec_no)); in nfp_net_tls_resync()
|
/linux-6.1.9/include/net/ |
D | tls.h | 295 struct sock *sk, u32 seq, u8 *rcd_sn,
|