Home
last modified time | relevance | path

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

/Linux-v6.1/include/uapi/linux/
Dtls.h130 unsigned char rec_seq[TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE]; member
138 unsigned char rec_seq[TLS_CIPHER_AES_GCM_256_REC_SEQ_SIZE]; member
146 unsigned char rec_seq[TLS_CIPHER_AES_CCM_128_REC_SEQ_SIZE]; member
154 unsigned char rec_seq[TLS_CIPHER_CHACHA20_POLY1305_REC_SEQ_SIZE]; member
162 unsigned char rec_seq[TLS_CIPHER_SM4_GCM_REC_SEQ_SIZE]; member
170 unsigned char rec_seq[TLS_CIPHER_SM4_CCM_REC_SEQ_SIZE]; member
178 unsigned char rec_seq[TLS_CIPHER_ARIA_GCM_128_REC_SEQ_SIZE]; member
186 unsigned char rec_seq[TLS_CIPHER_ARIA_GCM_256_REC_SEQ_SIZE]; member
/Linux-v6.1/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
60 memcpy(initial_rn, rec_seq, rec_seq_sz); in fill_static_params()
Dktls_tx.c689 char *rec_seq; in tx_post_resync_params() local
695 rec_seq = info->rec_seq; in tx_post_resync_params()
696 rec_seq_sz = sizeof(info->rec_seq); in tx_post_resync_params()
702 rec_seq = info->rec_seq; in tx_post_resync_params()
703 rec_seq_sz = sizeof(info->rec_seq); in tx_post_resync_params()
712 skip_static_post = !memcmp(rec_seq, &rn_be, rec_seq_sz); in tx_post_resync_params()
714 memcpy(rec_seq, &rn_be, rec_seq_sz); in tx_post_resync_params()
Dktls_rx.c380 memcpy(info->rec_seq, &priv_rx->resync.sw_rcd_sn_be, in resync_handle_seq_match()
381 sizeof(info->rec_seq)); in resync_handle_seq_match()
388 memcpy(info->rec_seq, &priv_rx->resync.sw_rcd_sn_be, in resync_handle_seq_match()
389 sizeof(info->rec_seq)); in resync_handle_seq_match()
/Linux-v6.1/net/tls/
Dtls_main.c66 .rec_seq = cipher ## _REC_SEQ_SIZE, \
300 kfree(ctx->tx.rec_seq); in tls_sk_proto_cleanup()
412 memcpy(crypto_info_aes_gcm_128->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
436 memcpy(crypto_info_aes_gcm_256->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
458 memcpy(aes_ccm_128->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
479 memcpy(chacha20_poly1305->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
500 memcpy(sm4_gcm_info->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
520 memcpy(sm4_ccm_info->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
542 memcpy(crypto_info_aria_gcm_128->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
566 memcpy(crypto_info_aria_gcm_256->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
Dtls_device.c59 kfree(ctx->tx.rec_seq); in tls_device_free_ctx()
242 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx()
810 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_rx_resync_new_rec()
896 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync()
1025 tls_ctx->rx.rec_seq, rxm->full_len, in tls_device_decrypted()
1081 char *iv, *rec_seq; in tls_set_device_offload() local
1112 rec_seq = in tls_set_device_offload()
1113 ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->rec_seq; in tls_set_device_offload()
1117 rec_seq = in tls_set_device_offload()
1118 ((struct tls12_crypto_info_aes_gcm_256 *)crypto_info)->rec_seq; in tls_set_device_offload()
[all …]
Dtls_sw.c509 tls_ctx->tx.rec_seq); in tls_do_encryption()
752 tls_ctx->tx.rec_seq, record_type, prot); in tls_push_record()
1524 tls_xor_iv_with_seq(prot, &dctx->iv[iv_offset], tls_ctx->rx.rec_seq); in tls_decrypt_sg()
1529 tls_ctx->rx.rec_seq, tlm->control, prot); in tls_decrypt_sg()
2357 kfree(tls_ctx->rx.rec_seq); in tls_sw_release_resources_rx()
2474 char *iv, *rec_seq, *key, *salt, *cipher_name; in tls_set_sw_offload() local
2539 rec_seq = gcm_128_info->rec_seq; in tls_set_sw_offload()
2556 rec_seq = gcm_256_info->rec_seq; in tls_set_sw_offload()
2573 rec_seq = ccm_128_info->rec_seq; in tls_set_sw_offload()
2590 rec_seq = chacha20_poly1305_info->rec_seq; in tls_set_sw_offload()
[all …]
Dtls.h252 if (tls_bigint_increment(ctx->rec_seq, prot->rec_seq_size)) in tls_advance_record_sn()
/Linux-v6.1/drivers/net/ethernet/fungible/funeth/
Dfuneth_ktls.c51 memcpy(req.record_seq, c->rec_seq, sizeof(c->rec_seq)); in fun_ktls_add()
/Linux-v6.1/tools/include/uapi/linux/
Dtls.h75 unsigned char rec_seq[TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE]; member
/Linux-v6.1/include/net/
Dtls.h59 unsigned int rec_seq; member
208 char *rec_seq; member
/Linux-v6.1/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()
/Linux-v6.1/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,
/Linux-v6.1/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()
/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Dfw.c550 fw_info->rec_seq = 0; in rtw89_fw_download()
Dcore.h2814 u8 rec_seq; member