Searched refs:iv_size (Results 1 – 3 of 3) sorted by relevance
/net/tls/ |
D | tls_sw.c | 516 prot->iv_size + prot->salt_size); in tls_do_encryption() 1485 prot->iv_size); in decrypt_internal() 1492 prot->iv_size + prot->salt_size); in decrypt_internal() 2093 cipher_overhead += prot->iv_size; in tls_read_size() 2325 u16 nonce_size, tag_size, iv_size, rec_seq_size, salt_size; in tls_set_sw_offload() local 2384 iv_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_sw_offload() 2401 iv_size = TLS_CIPHER_AES_GCM_256_IV_SIZE; in tls_set_sw_offload() 2418 iv_size = TLS_CIPHER_AES_CCM_128_IV_SIZE; in tls_set_sw_offload() 2438 if (iv_size > MAX_IV_SIZE || nonce_size > MAX_IV_SIZE || in tls_set_sw_offload() 2459 prot->iv_size = iv_size; in tls_set_sw_offload() [all …]
|
D | tls_device.c | 1017 u16 nonce_size, tag_size, iv_size, rec_seq_size; in tls_set_device_offload() local 1055 iv_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_device_offload() 1077 prot->iv_size = iv_size; in tls_set_device_offload() 1078 ctx->tx.iv = kmalloc(iv_size + TLS_CIPHER_AES_GCM_128_SALT_SIZE, in tls_set_device_offload() 1085 memcpy(ctx->tx.iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, iv, iv_size); in tls_set_device_offload()
|
/net/tipc/ |
D | crypto.c | 683 unsigned int iv_size, req_size; in tipc_aead_mem_alloc() local 687 iv_size = crypto_aead_ivsize(tfm); in tipc_aead_mem_alloc() 691 len += iv_size; in tipc_aead_mem_alloc() 704 *req = (struct aead_request *)PTR_ALIGN(*iv + iv_size, in tipc_aead_mem_alloc()
|