/kernel/linux/linux-5.10/crypto/ |
H A D | shash.c | 239 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 D | ccm.c | 789 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 D | hmac.c | 153 crypto_shash_descsize(hash); in hmac_init_tfm()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | shash.c | 271 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 D | ccm.c | 789 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 D | jitterentropy-kcapi.c | 237 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in jent_kcapi_init()
|
/kernel/linux/common_modules/tzdriver/auth/ |
H A D | client_hash_auth.c | 221 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 D | auth_base_impl.c | 114 shash_size = crypto_shash_descsize(g_shash_handle); in prepare_desc()
|
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | auth.c | 100 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 D | hash.h | 812 * 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 D | auth.c | 99 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 D | hash.h | 866 * 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 D | auth.c | 259 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 D | auth.c | 324 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 D | x509_public_key.c | 66 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
|
H A D | pkcs7_verify.c | 47 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pkcs7_digest()
|
/kernel/linux/linux-5.10/lib/ |
H A D | digsig.c | 234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | crypto_ctx.c | 91 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in alloc_shash_desc()
|
/kernel/linux/linux-6.6/drivers/crypto/xilinx/ |
H A D | zynqmp-sha.c | 64 hash->descsize += crypto_shash_descsize(tfm_ctx->fbk_tfm); in zynqmp_sha_init_tfm()
|
/kernel/linux/linux-6.6/lib/ |
H A D | digsig.c | 234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
|
/kernel/linux/linux-5.10/security/integrity/evm/ |
H A D | evm_crypto.c | 119 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
|
/kernel/linux/linux-5.10/security/keys/ |
H A D | dh.c | 106 size = sizeof(struct shash_desc) + crypto_shash_descsize(tfm); in kdf_alloc()
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | crypto.c | 225 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in hmac_sha256()
|
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | crypto.c | 225 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in hmac_sha256()
|
/kernel/linux/linux-6.6/crypto/asymmetric_keys/ |
H A D | x509_public_key.c | 53 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
|