Searched refs:rec_seq (Results 1 – 4 of 4) sorted by relevance
| /net/tls/ |
| A D | tls_device.c | 238 rcd_sn = tls_ctx->tx.rec_seq; in tls_device_resync_tx() 783 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_rx_resync_new_rec() 869 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync() 986 tls_ctx->rx.rec_seq, rxm->full_len, in tls_device_decrypted() 1049 memcpy(&rcd_sn, ctx->tx.rec_seq, sizeof(rcd_sn)); in alloc_offload_ctx_tx() 1066 char *iv, *rec_seq; in tls_set_device_offload() local 1103 rec_seq = crypto_info_rec_seq(crypto_info, cipher_desc); in tls_set_device_offload() 1106 memcpy(ctx->tx.rec_seq, rec_seq, cipher_desc->rec_seq); in tls_set_device_offload() 1157 tcp_sk(sk)->write_seq, rec_seq, rc); in tls_set_device_offload() 1239 tcp_sk(sk)->copied_seq, info->rec_seq, rc); in tls_set_device_offload_rx()
|
| A D | tls_main.c | 69 static_assert(sizeof_field(struct ci, rec_seq) == cipher ## _REC_SEQ_SIZE); 75 .rec_seq_offset = offsetof(struct ci, rec_seq), \ 84 .rec_seq = cipher ## _REC_SEQ_SIZE, \ 96 .rec_seq = cipher ## _REC_SEQ_SIZE, \ 490 cctx->rec_seq, cipher_desc->rec_seq); in do_tls_getsockopt_conf()
|
| A D | tls.h | 60 unsigned int rec_seq; member 311 if (tls_bigint_increment(ctx->rec_seq, prot->rec_seq_size)) in tls_advance_record_sn()
|
| A D | tls_sw.c | 561 tls_ctx->tx.rec_seq); in tls_do_encryption() 809 tls_ctx->tx.rec_seq, record_type, prot); in tls_push_record() 1582 tls_xor_iv_with_seq(prot, &dctx->iv[iv_offset], tls_ctx->rx.rec_seq); in tls_decrypt_sg() 1587 tls_ctx->rx.rec_seq, tlm->control, prot); in tls_decrypt_sg() 2741 prot->rec_seq_size = cipher_desc->rec_seq; in init_prot_info() 2762 char *iv, *rec_seq, *key, *salt; in tls_set_sw_offload() local 2813 rec_seq = crypto_info_rec_seq(src_crypto_info, cipher_desc); in tls_set_sw_offload() 2859 memcpy(cctx->rec_seq, rec_seq, cipher_desc->rec_seq); in tls_set_sw_offload()
|
Completed in 20 milliseconds