Searched refs:iv_size (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/md/ |
| H A D | dm-crypt.c | 184 unsigned int iv_size; member 365 memset(iv, 0, cc->iv_size); in crypt_iv_plain_gen() 374 memset(iv, 0, cc->iv_size); in crypt_iv_plain64_gen() 383 memset(iv, 0, cc->iv_size); in crypt_iv_plain64be_gen() 384 /* iv_size is at least of size u64; usually it is 16 bytes */ in crypt_iv_plain64be_gen() 385 *(__be64 *)&iv[cc->iv_size - sizeof(u64)] = cpu_to_be64(dmreq->iv_sector); in crypt_iv_plain64be_gen() 397 memset(iv, 0, cc->iv_size); in crypt_iv_essiv_gen() 443 memset(iv, 0, cc->iv_size - sizeof(u64)); /* rest is cleared below */ in crypt_iv_benbi_gen() 446 put_unaligned(val, (__be64 *)(iv + cc->iv_size - sizeof(u64))); in crypt_iv_benbi_gen() 454 memset(iv, 0, cc->iv_size); in crypt_iv_null_gen() [all...] |
| /linux/net/tls/ |
| H A D | tls.h | 320 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 D | tls_sw.c | 559 prot->iv_size + prot->salt_size); in tls_do_encryption() 1348 prot->iv_size + prot->salt_size); in tls_decrypt_sg() 1352 prot->iv_size); in tls_decrypt_sg() 2215 cipher_overhead += prot->iv_size; in tls_rx_msg_size() 2509 prot->iv_size = cipher_desc->iv; in init_prot_info()
|
| /linux/drivers/s390/cio/ |
| H A D | airq.c | 114 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 D | ocs-aes.h | 78 u32 iv_size);
|
| /linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
| H A D | chcr_ktls.h | 50 u32 iv_size; member
|
| H A D | chcr_ktls.c | 90 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/net/tipc/ |
| H A D | crypto.c | 679 unsigned int iv_size, req_size; in tipc_aead_mem_alloc() 683 iv_size = crypto_aead_ivsize(tfm); in tipc_aead_mem_alloc() 687 len += iv_size; in tipc_aead_mem_alloc() 700 *req = (struct aead_request *)PTR_ALIGN(*iv + iv_size, in tipc_aead_mem_alloc() 681 unsigned int iv_size, req_size; tipc_aead_mem_alloc() local
|
| /linux/fs/smb/client/ |
| H A D | smb2ops.c | 4710 unsigned int iv_size = crypto_aead_ivsize(tfm); in smb2_get_aead_req() 4720 len = iv_size; in smb2_get_aead_req() 4732 *req = (struct aead_request *)PTR_ALIGN(*iv + iv_size, in smb2_get_enc_key() 4646 unsigned int iv_size = crypto_aead_ivsize(tfm); smb2_aead_req_alloc() local
|