Searched refs:iv_size (Results 1 – 4 of 4) sorted by relevance
266 prot->iv_size); in tls_advance_record_sn()286 size_t pkt_len, iv_size = prot->iv_size; in tls_fill_prepend() local291 pkt_len += iv_size; in tls_fill_prepend()294 ctx->tx.iv + prot->salt_size, iv_size); in tls_fill_prepend()
532 prot->iv_size + prot->salt_size); in tls_do_encryption()1600 prot->iv_size + prot->salt_size); in tls_decrypt_sg()1604 prot->iv_size); in tls_decrypt_sg()2335 cipher_overhead += prot->iv_size; in tls_rx_msg_size()2612 u16 nonce_size, tag_size, iv_size, rec_seq_size, salt_size; in tls_set_sw_offload() local2650 iv_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_sw_offload()2667 iv_size = TLS_CIPHER_AES_GCM_256_IV_SIZE; in tls_set_sw_offload()2684 iv_size = TLS_CIPHER_AES_CCM_128_IV_SIZE; in tls_set_sw_offload()2701 iv_size = TLS_CIPHER_CHACHA20_POLY1305_IV_SIZE; in tls_set_sw_offload()2718 iv_size = TLS_CIPHER_SM4_GCM_IV_SIZE; in tls_set_sw_offload()[all …]
1122 prot->iv_size = cipher_sz->iv; in tls_set_device_offload()
690 unsigned int iv_size, req_size; in tipc_aead_mem_alloc() local694 iv_size = crypto_aead_ivsize(tfm); in tipc_aead_mem_alloc()698 len += iv_size; in tipc_aead_mem_alloc()711 *req = (struct aead_request *)PTR_ALIGN(*iv + iv_size, in tipc_aead_mem_alloc()