/linux-6.3-rc2/net/tls/ |
A 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 …]
|
A 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() 723 struct sock *sk, u32 seq, u8 *rcd_sn) in tls_device_resync_rx() argument 798 u8 rcd_sn[TLS_MAX_REC_SEQ_SIZE]; in tls_device_rx_resync_new_rec() local 852 tls_bigint_subtract(rcd_sn, rcd_delta); in tls_device_rx_resync_new_rec() 896 u8 rcd_sn[TLS_MAX_REC_SEQ_SIZE]; in tls_device_core_ctrl_rx_resync() local 902 rcd_sn); in tls_device_core_ctrl_rx_resync() 1085 __be64 rcd_sn; in tls_set_device_offload() local [all …]
|
A D | tls.h | 240 u64 rcd_sn; in tls_bigint_subtract() local 246 rcd_sn = be64_to_cpu(*p); in tls_bigint_subtract() 247 *p = cpu_to_be64(rcd_sn - n); in tls_bigint_subtract()
|
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/ |
A 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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A 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()
|
A D | ktls_tx.c | 607 u64 rcd_sn; member 631 record = tls_get_record(tx_ctx, tcp_seq, &info->rcd_sn); in tx_sync_info_get() 677 u64 rcd_sn) in tx_post_resync_params() argument 679 __be64 rn_be = cpu_to_be64(rcd_sn); in tx_post_resync_params() 787 tx_post_resync_params(sq, priv_tx, info.rcd_sn); in mlx5e_ktls_tx_handle_ooo()
|
A D | ktls_utils.h | 28 void mlx5e_ktls_rx_resync(struct net_device *netdev, struct sock *sk, u32 seq, u8 *rcd_sn);
|
A D | ktls_rx.c | 541 u32 seq, u8 *rcd_sn) in mlx5e_ktls_rx_resync() argument 553 resync->sw_rcd_sn_be = *(__be64 *)rcd_sn; in mlx5e_ktls_rx_resync()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/crypto/ |
A 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.3-rc2/include/net/ |
A D | tls.h | 295 struct sock *sk, u32 seq, u8 *rcd_sn,
|