Home
last modified time | relevance | path

Searched refs:iv_size (Results 1 – 9 of 9) sorted by relevance

/linux/net/tls/
H A Dtls.h320 prot->iv_size); in tls_advance_record_sn()
340 size_t pkt_len, iv_size = prot->iv_size; in tls_fill_prepend() local
345 pkt_len += iv_size; in tls_fill_prepend()
348 ctx->tx.iv + prot->salt_size, iv_size); in tls_fill_prepend()
H A Dtls_sw.c559 prot->iv_size + prot->salt_size); in tls_do_encryption()
1601 prot->iv_size + prot->salt_size); in tls_decrypt_sg()
1605 prot->iv_size); in tls_decrypt_sg()
2481 cipher_overhead += prot->iv_size; in tls_rx_msg_size()
2775 prot->iv_size = cipher_desc->iv; in init_prot_info()
/linux/drivers/s390/cio/
H A Dairq.c114 static inline unsigned long iv_size(unsigned long bits) in iv_size() function
138 size = iv_size(bits); in airq_iv_create()
210 cio_dma_free(iv->vector, iv_size(iv->bits)); in airq_iv_release()
/linux/drivers/crypto/intel/keembay/
H A Docs-aes.h78 u32 iv_size);
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.h50 u32 iv_size; member
H A Dchcr_ktls.c90 tx_info->iv_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in chcr_ktls_save_keys()
1183 cipher_start = TLS_HEADER_SIZE + tx_info->iv_size + 1; in chcr_ktls_xmit_wr_complete()
1362 (!tls_rec_offset ? TLS_HEADER_SIZE + tx_info->iv_size : 0); in chcr_ktls_xmit_wr_short()
1419 memcpy(pos + tx_info->salt_size, &iv_record, tx_info->iv_size); in chcr_ktls_xmit_wr_short()
1420 *(__be32 *)(pos + tx_info->salt_size + tx_info->iv_size) = in chcr_ktls_xmit_wr_short()
1422 (TLS_HEADER_SIZE + tx_info->iv_size)) / AES_BLOCK_LEN) : 0)); in chcr_ktls_xmit_wr_short()
1803 if (tls_rec_offset + data_len <= (TLS_HEADER_SIZE + tx_info->iv_size)) { in chcr_short_record_handler()
1821 if (tls_rec_offset < (TLS_HEADER_SIZE + tx_info->iv_size)) { in chcr_short_record_handler()
1828 (TLS_HEADER_SIZE + tx_info->iv_size)) in chcr_short_record_handler()
/linux/include/net/
H A Dtls.h216 u16 iv_size; member
/linux/net/tipc/
H A Dcrypto.c681 unsigned int iv_size, req_size;
685 iv_size = crypto_aead_ivsize(tfm); in tipc_aead_mem_alloc()
689 len += iv_size; in tipc_aead_mem_alloc()
702 *req = (struct aead_request *)PTR_ALIGN(*iv + iv_size, in tipc_aead_mem_alloc()
690 unsigned int iv_size, req_size; tipc_aead_mem_alloc() local
/linux/fs/smb/client/
H A Dsmb2ops.c4350 unsigned int iv_size = crypto_aead_ivsize(tfm); in smb2_aead_req_alloc() local
4358 len = iv_size; in smb2_aead_req_alloc()
4370 *req = (struct aead_request *)PTR_ALIGN(*iv + iv_size, in smb2_aead_req_alloc()