Searched refs:iv_size (Results 1 – 9 of 9) sorted by relevance
320 prot->iv_size); in tls_advance_record_sn()340 size_t pkt_len, iv_size = prot->iv_size; in tls_fill_prepend() local345 pkt_len += iv_size; in tls_fill_prepend()348 ctx->tx.iv + prot->salt_size, iv_size); in tls_fill_prepend()
559 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()
114 static inline unsigned long iv_size(unsigned long bits) in iv_size() function138 size = iv_size(bits); in airq_iv_create()210 cio_dma_free(iv->vector, iv_size(iv->bits)); in airq_iv_release()
78 u32 iv_size);
50 u32 iv_size; member
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()
216 u16 iv_size; member
681 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
4350 unsigned int iv_size = crypto_aead_ivsize(tfm); in smb2_aead_req_alloc() local4358 len = iv_size; in smb2_aead_req_alloc()4370 *req = (struct aead_request *)PTR_ALIGN(*iv + iv_size, in smb2_aead_req_alloc()