Searched refs:rec_seq_size (Results 1 – 2 of 2) sorted by relevance
/net/tls/ |
D | tls_device.c | 674 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_rx_resync_new_rec() 699 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_rx_resync_new_rec() 744 memcpy(rcd_sn, tls_ctx->rx.rec_seq, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync() 745 tls_bigint_increment(rcd_sn, prot->rec_seq_size); in tls_device_core_ctrl_rx_resync() 888 u16 nonce_size, tag_size, iv_size, rec_seq_size; in tls_set_device_offload() local 928 rec_seq_size = TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE; in tls_set_device_offload() 938 if (rec_seq_size > TLS_MAX_REC_SEQ_SIZE) { in tls_set_device_offload() 958 prot->rec_seq_size = rec_seq_size; in tls_set_device_offload() 959 ctx->tx.rec_seq = kmemdup(rec_seq, rec_seq_size, GFP_KERNEL); in tls_set_device_offload()
|
D | tls_sw.c | 744 tls_ctx->tx.rec_seq, prot->rec_seq_size, in tls_push_record() 1459 tls_ctx->rx.rec_seq, prot->rec_seq_size, in decrypt_internal() 2246 u16 nonce_size, tag_size, iv_size, rec_seq_size, salt_size; in tls_set_sw_offload() local 2305 rec_seq_size = TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE; in tls_set_sw_offload() 2322 rec_seq_size = TLS_CIPHER_AES_GCM_256_REC_SEQ_SIZE; in tls_set_sw_offload() 2339 rec_seq_size = TLS_CIPHER_AES_CCM_128_REC_SEQ_SIZE; in tls_set_sw_offload() 2358 rec_seq_size > TLS_MAX_REC_SEQ_SIZE) { in tls_set_sw_offload() 2386 prot->rec_seq_size = rec_seq_size; in tls_set_sw_offload() 2389 cctx->rec_seq = kmemdup(rec_seq, rec_seq_size, GFP_KERNEL); in tls_set_sw_offload()
|