/openbmc/linux/net/tls/ |
H A D | tls_device_fallback.c | 52 char *iv, __be64 rcd_sn, in tls_enc_record() argument 90 tls_make_aad(aad, len - cipher_desc->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 …]
|
H A D | tls_device.c | 238 u8 *rcd_sn; in tls_device_resync_tx() local 244 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx() 246 trace_tls_device_tx_resync_send(sk, seq, rcd_sn); in tls_device_resync_tx() 252 rcd_sn, in tls_device_resync_tx() 700 struct sock *sk, u32 seq, u8 *rcd_sn) in tls_device_resync_rx() argument 705 trace_tls_device_rx_resync_send(sk, seq, rcd_sn, rx_ctx->resync_type); in tls_device_resync_rx() 709 netdev->tlsdev_ops->tls_dev_resync(netdev, sk, seq, rcd_sn, in tls_device_resync_rx() 775 u8 rcd_sn[TLS_MAX_REC_SEQ_SIZE]; in tls_device_rx_resync_new_rec() local 789 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_rx_resync_new_rec() 818 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_rx_resync_new_rec() [all …]
|
H A D | tls.h | 293 u64 rcd_sn; in tls_bigint_subtract() local 299 rcd_sn = be64_to_cpu(*p); in tls_bigint_subtract() 300 *p = cpu_to_be64(rcd_sn - n); in tls_bigint_subtract()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H 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()
|
H A D | ktls_utils.h | 28 void mlx5e_ktls_rx_resync(struct net_device *netdev, struct sock *sk, u32 seq, u8 *rcd_sn);
|
H A D | ktls_tx.c | 609 u64 rcd_sn; member 633 record = tls_get_record(tx_ctx, tcp_seq, &info->rcd_sn); in tx_sync_info_get() 679 u64 rcd_sn) in tx_post_resync_params() argument 681 __be64 rn_be = cpu_to_be64(rcd_sn); in tx_post_resync_params() 789 tx_post_resync_params(sq, priv_tx, info.rcd_sn); in mlx5e_ktls_tx_handle_ooo()
|
H 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()
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/crypto/ |
H 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()
|
/openbmc/linux/include/net/ |
H A D | tls.h | 280 struct sock *sk, u32 seq, u8 *rcd_sn,
|