Home
last modified time | relevance | path

Searched refs:ivs (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/arch/x86/crypto/
Dtwofish_glue_3way.c57 u128 ivs[2]; in twofish_dec_blk_cbc_3way() local
59 ivs[0] = src[0]; in twofish_dec_blk_cbc_3way()
60 ivs[1] = src[1]; in twofish_dec_blk_cbc_3way()
64 u128_xor(&dst[1], &dst[1], &ivs[0]); in twofish_dec_blk_cbc_3way()
65 u128_xor(&dst[2], &dst[2], &ivs[1]); in twofish_dec_blk_cbc_3way()
Dblowfish_glue.c191 u64 ivs[4 - 1]; in __cbc_decrypt() local
207 ivs[0] = src[0]; in __cbc_decrypt()
208 ivs[1] = src[1]; in __cbc_decrypt()
209 ivs[2] = src[2]; in __cbc_decrypt()
213 dst[1] ^= ivs[0]; in __cbc_decrypt()
214 dst[2] ^= ivs[1]; in __cbc_decrypt()
215 dst[3] ^= ivs[2]; in __cbc_decrypt()
Dserpent_sse2_glue.c51 u128 ivs[SERPENT_PARALLEL_BLOCKS - 1]; in serpent_decrypt_cbc_xway() local
55 ivs[j] = src[j]; in serpent_decrypt_cbc_xway()
60 u128_xor(dst + (j + 1), dst + (j + 1), ivs + j); in serpent_decrypt_cbc_xway()
Ddes3_ede_glue.c194 u64 ivs[3 - 1]; in __cbc_decrypt() local
210 ivs[0] = src[0]; in __cbc_decrypt()
211 ivs[1] = src[1]; in __cbc_decrypt()
215 dst[1] ^= ivs[0]; in __cbc_decrypt()
216 dst[2] ^= ivs[1]; in __cbc_decrypt()
/Linux-v4.19/drivers/crypto/chelsio/chtls/
Dchtls_io.c228 unsigned char *ivs; in tls_copy_ivs() local
243 ivs = kmalloc_array(CIPHER_BLOCK_SIZE, number_of_ivs, GFP_ATOMIC); in tls_copy_ivs()
244 if (!ivs) in tls_copy_ivs()
246 get_random_bytes(ivs, number_of_ivs * CIPHER_BLOCK_SIZE); in tls_copy_ivs()
253 memcpy(iv_loc, ivs, number_of_ivs * CIPHER_BLOCK_SIZE); in tls_copy_ivs()
267 memcpy(page_address(page), ivs, number_of_ivs * in tls_copy_ivs()
274 kfree(ivs); in tls_copy_ivs()
/Linux-v4.19/net/core/
Drtnetlink.c2206 struct ifla_vf_spoofchk *ivs = nla_data(tb[IFLA_VF_SPOOFCHK]); in do_setvfinfo() local
2210 err = ops->ndo_set_vf_spoofchk(dev, ivs->vf, in do_setvfinfo()
2211 ivs->setting); in do_setvfinfo()