Home
last modified time | relevance | path

Searched refs:CIPHER_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/crypto/chelsio/chtls/
Dchtls_io.c55 int ivs_size = nos_ivs(sk, skb->len) * CIPHER_BLOCK_SIZE; in set_ivs_imm()
69 return nos_ivs(sk, size) * CIPHER_BLOCK_SIZE; in max_ivs_size()
75 CIPHER_BLOCK_SIZE) : 0; in ivs_size()
243 ivs = kmalloc_array(CIPHER_BLOCK_SIZE, number_of_ivs, GFP_ATOMIC); in tls_copy_ivs()
246 get_random_bytes(ivs, number_of_ivs * CIPHER_BLOCK_SIZE); in tls_copy_ivs()
251 CIPHER_BLOCK_SIZE); in tls_copy_ivs()
253 memcpy(iv_loc, ivs, number_of_ivs * CIPHER_BLOCK_SIZE); in tls_copy_ivs()
255 hws->ivsize = number_of_ivs * CIPHER_BLOCK_SIZE; in tls_copy_ivs()
268 CIPHER_BLOCK_SIZE); in tls_copy_ivs()
270 number_of_ivs * CIPHER_BLOCK_SIZE); in tls_copy_ivs()
Dchtls.h39 #define CIPHER_BLOCK_SIZE 16 macro