Home
last modified time | relevance | path

Searched refs:crypto_shash_descsize (Results 1 - 25 of 89) sorted by relevance

1234

/kernel/linux/linux-5.10/crypto/
H A Dshash.c239 memcpy(out, shash_desc_ctx(desc), crypto_shash_descsize(desc->tfm)); in shash_default_export()
245 memcpy(shash_desc_ctx(desc), in, crypto_shash_descsize(desc->tfm)); in shash_default_import()
411 crt->reqsize = sizeof(struct shash_desc) + crypto_shash_descsize(shash); in crypto_init_shash_ops_async()
H A Dccm.c789 u8 *dg = (u8 *)ctx + crypto_shash_descsize(pdesc->tfm) - bs; in crypto_cbcmac_digest_init()
805 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_update()
831 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_final()
H A Dhmac.c153 crypto_shash_descsize(hash); in hmac_init_tfm()
/kernel/linux/linux-6.6/crypto/
H A Dshash.c271 memcpy(out, shash_desc_ctx(desc), crypto_shash_descsize(desc->tfm)); in shash_default_export()
277 memcpy(shash_desc_ctx(desc), in, crypto_shash_descsize(desc->tfm)); in shash_default_import()
443 crt->reqsize = sizeof(struct shash_desc) + crypto_shash_descsize(shash); in crypto_init_shash_ops_async()
H A Dccm.c789 u8 *dg = (u8 *)ctx + crypto_shash_descsize(pdesc->tfm) - bs; in crypto_cbcmac_digest_init()
805 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_update()
831 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_final()
H A Djitterentropy-kcapi.c237 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in jent_kcapi_init()
/kernel/linux/common_modules/tzdriver/auth/
H A Dclient_hash_auth.c221 shash_size = crypto_shash_descsize(get_shash_handle()); in calc_task_so_hash()
388 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); in init_sdesc()
H A Dauth_base_impl.c114 shash_size = crypto_shash_descsize(g_shash_handle); in prepare_desc()
/kernel/linux/linux-5.10/fs/ubifs/
H A Dauth.c100 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in ubifs_get_desc()
482 state = kmalloc(crypto_shash_descsize(src->tfm), GFP_NOFS); in __ubifs_shash_copy_state()
/kernel/linux/linux-5.10/include/crypto/
H A Dhash.h812 * crypto_shash_descsize() - obtain the operational state size
822 * sizeof(struct shash_desc) + crypto_shash_descsize(alg)
826 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize() function
896 * calling crypto_shash_descsize).
1002 sizeof(*desc) + crypto_shash_descsize(desc->tfm)); in shash_desc_zero()
/kernel/linux/linux-6.6/fs/ubifs/
H A Dauth.c99 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in ubifs_get_desc()
481 state = kmalloc(crypto_shash_descsize(src->tfm), GFP_NOFS); in __ubifs_shash_copy_state()
/kernel/linux/linux-6.6/include/crypto/
H A Dhash.h866 * crypto_shash_descsize() - obtain the operational state size
876 * sizeof(struct shash_desc) + crypto_shash_descsize(alg)
880 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize() function
950 * calling crypto_shash_descsize).
1056 sizeof(*desc) + crypto_shash_descsize(desc->tfm)); in shash_desc_zero()
/kernel/linux/linux-6.6/drivers/nvme/common/
H A Dauth.c259 crypto_shash_descsize(key_tfm), in nvme_auth_transform_key()
362 desc = kmalloc(sizeof(struct shash_desc) + crypto_shash_descsize(tfm), in nvme_auth_augmented_challenge()
/kernel/linux/linux-6.6/drivers/nvme/target/
H A Dauth.c324 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(shash_tfm), in nvmet_auth_host_hash()
432 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(shash_tfm), in nvmet_auth_ctrl_hash()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dx509_public_key.c66 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
H A Dpkcs7_verify.c47 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pkcs7_digest()
/kernel/linux/linux-5.10/lib/
H A Ddigsig.c234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
/kernel/linux/linux-6.6/fs/smb/server/
H A Dcrypto_ctx.c91 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in alloc_shash_desc()
/kernel/linux/linux-6.6/drivers/crypto/xilinx/
H A Dzynqmp-sha.c64 hash->descsize += crypto_shash_descsize(tfm_ctx->fbk_tfm); in zynqmp_sha_init_tfm()
/kernel/linux/linux-6.6/lib/
H A Ddigsig.c234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
/kernel/linux/linux-5.10/security/integrity/evm/
H A Devm_crypto.c119 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
/kernel/linux/linux-5.10/security/keys/
H A Ddh.c106 size = sizeof(struct shash_desc) + crypto_shash_descsize(tfm); in kdf_alloc()
/kernel/linux/linux-5.10/fs/hmdfs/comm/
H A Dcrypto.c225 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in hmac_sha256()
/kernel/linux/linux-6.6/fs/hmdfs/comm/
H A Dcrypto.c225 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in hmac_sha256()
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
H A Dx509_public_key.c53 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()

Completed in 21 milliseconds

1234