Home
last modified time | relevance | path

Searched refs:rec_seq (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_txrx.c17 rec_seq = info->rec_seq; \
19 rec_seq_sz = sizeof(info->rec_seq); \
29 char *salt, *rec_seq; in fill_static_params() local
41 memcpy(initial_rn, rec_seq, rec_seq_sz); in fill_static_params()
Dktls_tx.c286 char *rec_seq; in tx_post_resync_params() local
288 rec_seq = info->rec_seq; in tx_post_resync_params()
289 rec_seq_sz = sizeof(info->rec_seq); in tx_post_resync_params()
291 skip_static_post = !memcmp(rec_seq, &rn_be, rec_seq_sz); in tx_post_resync_params()
293 memcpy(rec_seq, &rn_be, rec_seq_sz); in tx_post_resync_params()
Dktls_rx.c372 memcpy(info->rec_seq, &priv_rx->resync.sw_rcd_sn_be, sizeof(info->rec_seq)); in resync_handle_seq_match()
/kernel/linux/linux-5.10/include/uapi/linux/
Dtls.h93 unsigned char rec_seq[TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE]; member
101 unsigned char rec_seq[TLS_CIPHER_AES_GCM_256_REC_SEQ_SIZE]; member
109 unsigned char rec_seq[TLS_CIPHER_AES_CCM_128_REC_SEQ_SIZE]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dtls.h62 unsigned char rec_seq[TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE]; member
69 unsigned char rec_seq[TLS_CIPHER_AES_GCM_256_REC_SEQ_SIZE]; member
76 unsigned char rec_seq[TLS_CIPHER_AES_CCM_128_REC_SEQ_SIZE]; member
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dcrypto.c47 memcpy(cctx->rec_seq, crypto_info->rec_seq, in tls_crypto_set_key()
81 memcpy(tcp->connect->send_crypto_info.rec_seq, in tls_crypto_info_init()
104 memcpy(tcp->connect->recv_crypto_info.rec_seq, in tls_crypto_info_init()
138 memcpy(tcp->connect->send_crypto_info.rec_seq, in tls_set_tx()
169 memcpy(tcp->connect->recv_crypto_info.rec_seq, in tls_set_rx()
/kernel/linux/linux-5.10/net/tls/
Dtls_device.c60 kfree(ctx->tx.rec_seq); in tls_device_free_ctx()
232 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx()
772 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_rx_resync_new_rec()
858 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync()
966 tls_ctx->rx.rec_seq, rxm->full_len, in tls_device_decrypted()
1024 char *iv, *rec_seq; in tls_set_device_offload() local
1058 rec_seq = in tls_set_device_offload()
1059 ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->rec_seq; in tls_set_device_offload()
1088 ctx->tx.rec_seq = kmemdup(rec_seq, rec_seq_size, GFP_KERNEL); in tls_set_device_offload()
1089 if (!ctx->tx.rec_seq) { in tls_set_device_offload()
[all …]
Dtls_sw.c518 xor_iv_with_seq(prot->version, rec->iv_data + iv_offset, tls_ctx->tx.rec_seq); in tls_do_encryption()
761 tls_ctx->tx.rec_seq, prot->rec_seq_size, in tls_push_record()
1492 xor_iv_with_seq(prot->version, iv + iv_offset, tls_ctx->rx.rec_seq); in decrypt_internal()
1497 tls_ctx->rx.rec_seq, prot->rec_seq_size, in decrypt_internal()
2209 kfree(tls_ctx->rx.rec_seq); in tls_sw_release_resources_rx()
2315 char *iv, *rec_seq, *key, *salt, *cipher_name; in tls_set_sw_offload() local
2375 rec_seq = in tls_set_sw_offload()
2376 ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->rec_seq; in tls_set_sw_offload()
2392 rec_seq = in tls_set_sw_offload()
2393 ((struct tls12_crypto_info_aes_gcm_256 *)crypto_info)->rec_seq; in tls_set_sw_offload()
[all …]
Dtls_main.c281 kfree(ctx->tx.rec_seq); in tls_sk_proto_cleanup()
392 memcpy(crypto_info_aes_gcm_128->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
415 memcpy(crypto_info_aes_gcm_256->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dtls.h35 unsigned char rec_seq[TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE]; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dtls.h75 unsigned char rec_seq[TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c343 memcpy(back->rec_no, tls_ci->rec_seq, sizeof(tls_ci->rec_seq)); in nfp_net_tls_add()
/kernel/linux/linux-5.10/Documentation/networking/
Dtls.rst45 unsigned char rec_seq[TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE];
54 memcpy(crypto_info.rec_seq, seq_number_write,
/kernel/linux/linux-5.10/include/net/
Dtls.h216 char *rec_seq; member
510 if (tls_bigint_increment(ctx->rec_seq, prot->rec_seq_size)) in tls_advance_record_sn()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dtls.c517 memcpy(MLX5_ADDR_OF(tls_cmd, cmd, tls_rcd_sn), crypto_info->rec_seq, in mlx5_fpga_tls_set_aes_gcm128_ctx()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c95 tx_info->record_no = *(u64 *)info_128_gcm->rec_seq; in chcr_ktls_save_keys()