Home
last modified time | relevance | path

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

/net/tls/
Dtls.h266 prot->iv_size); in tls_advance_record_sn()
286 size_t pkt_len, iv_size = prot->iv_size; in tls_fill_prepend() local
291 pkt_len += iv_size; in tls_fill_prepend()
294 ctx->tx.iv + prot->salt_size, iv_size); in tls_fill_prepend()
Dtls_sw.c532 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() local
2650 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 …]
Dtls_device.c1122 prot->iv_size = cipher_sz->iv; in tls_set_device_offload()
/net/tipc/
Dcrypto.c690 unsigned int iv_size, req_size; in tipc_aead_mem_alloc() local
694 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()