Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/crypto/
Ddes3_ede_glue.c174 u64 ivs[3 - 1]; in __cbc_decrypt() local
190 ivs[0] = src[0]; in __cbc_decrypt()
191 ivs[1] = src[1]; in __cbc_decrypt()
195 dst[1] ^= ivs[0]; in __cbc_decrypt()
196 dst[2] ^= ivs[1]; in __cbc_decrypt()
/linux-6.12.1/crypto/
Dlskcipher.c161 unsigned len, u8 *ivs, in crypto_lskcipher_crypt_sg() argument
166 u8 *ivs = skcipher_request_ctx(req); in crypto_lskcipher_crypt_sg() local
174 ivs = PTR_ALIGN(ivs, crypto_skcipher_alignmask(skcipher) + 1); in crypto_lskcipher_crypt_sg()
175 memcpy(ivs, req->iv, ivsize); in crypto_lskcipher_crypt_sg()
189 walk.nbytes, ivs, in crypto_lskcipher_crypt_sg()
196 memcpy(req->iv, ivs, ivsize); in crypto_lskcipher_crypt_sg()
Dskcipher.c663 u8 *ivs = skcipher_request_ctx(req); in crypto_lskcipher_export() local
665 ivs = PTR_ALIGN(ivs, crypto_skcipher_alignmask(tfm) + 1); in crypto_lskcipher_export()
667 memcpy(out, ivs + crypto_skcipher_ivsize(tfm), in crypto_lskcipher_export()
676 u8 *ivs = skcipher_request_ctx(req); in crypto_lskcipher_import() local
678 ivs = PTR_ALIGN(ivs, crypto_skcipher_alignmask(tfm) + 1); in crypto_lskcipher_import()
680 memcpy(ivs + crypto_skcipher_ivsize(tfm), in, in crypto_lskcipher_import()
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c225 unsigned char *ivs; in tls_copy_ivs() local
240 ivs = kmalloc_array(CIPHER_BLOCK_SIZE, number_of_ivs, GFP_ATOMIC); in tls_copy_ivs()
241 if (!ivs) in tls_copy_ivs()
243 get_random_bytes(ivs, number_of_ivs * CIPHER_BLOCK_SIZE); in tls_copy_ivs()
250 memcpy(iv_loc, ivs, number_of_ivs * CIPHER_BLOCK_SIZE); in tls_copy_ivs()
264 memcpy(page_address(page), ivs, number_of_ivs * in tls_copy_ivs()
271 kfree(ivs); in tls_copy_ivs()
/linux-6.12.1/drivers/gpu/drm/tidss/
Dtidss_dispc.c1075 bool align, onoff, rf, ieo, ipc, ihs, ivs; in dispc_vp_enable() local
1105 ivs = !!(mode->flags & DRM_MODE_FLAG_NVSYNC); in dispc_vp_enable()
1132 FLD_VAL(ivs, 12, 12)); in dispc_vp_enable()
/linux-6.12.1/net/core/
Drtnetlink.c2629 struct ifla_vf_spoofchk *ivs = nla_data(tb[IFLA_VF_SPOOFCHK]); in do_setvfinfo() local
2631 if (ivs->vf >= INT_MAX) in do_setvfinfo()
2635 err = ops->ndo_set_vf_spoofchk(dev, ivs->vf, in do_setvfinfo()
2636 ivs->setting); in do_setvfinfo()