Home
last modified time | relevance | path

Searched refs:rec_seq_size (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/net/tls/
Dtls_device.c767 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_rx_resync_new_rec()
796 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_rx_resync_new_rec()
853 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync()
854 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync()
1001 u16 nonce_size, tag_size, iv_size, rec_seq_size; in tls_set_device_offload() local
1041 rec_seq_size = TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE; in tls_set_device_offload()
1051 if (rec_seq_size > TLS_MAX_REC_SEQ_SIZE) { in tls_set_device_offload()
1071 prot->rec_seq_size = rec_seq_size; in tls_set_device_offload()
1072 ctx->tx.rec_seq = kmemdup(rec_seq, rec_seq_size, GFP_KERNEL); in tls_set_device_offload()
Dtls_sw.c751 tls_ctx->tx.rec_seq, prot->rec_seq_size, in tls_push_record()
1485 tls_ctx->rx.rec_seq, prot->rec_seq_size, in decrypt_internal()
2304 u16 nonce_size, tag_size, iv_size, rec_seq_size, salt_size; in tls_set_sw_offload() local
2365 rec_seq_size = TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE; in tls_set_sw_offload()
2382 rec_seq_size = TLS_CIPHER_AES_GCM_256_REC_SEQ_SIZE; in tls_set_sw_offload()
2399 rec_seq_size = TLS_CIPHER_AES_CCM_128_REC_SEQ_SIZE; in tls_set_sw_offload()
2418 rec_seq_size > TLS_MAX_REC_SEQ_SIZE) { in tls_set_sw_offload()
2446 prot->rec_seq_size = rec_seq_size; in tls_set_sw_offload()
2449 cctx->rec_seq = kmemdup(rec_seq, rec_seq_size, GFP_KERNEL); in tls_set_sw_offload()
/Linux-v5.10/include/net/
Dtls.h231 u16 rec_seq_size; member
507 if (tls_bigint_increment(ctx->rec_seq, prot->rec_seq_size)) in tls_advance_record_sn()