Home
last modified time | relevance | path

Searched refs:crypto_shash_descsize (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v5.15/Documentation/crypto/
Dapi-digest.rst35 … crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_sha…
Dapi-samples.rst109 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg);
/Linux-v5.15/fs/ubifs/
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()
/Linux-v5.15/crypto/
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()
Dccm.c790 u8 *dg = (u8 *)ctx + crypto_shash_descsize(pdesc->tfm) - bs; in crypto_cbcmac_digest_init()
806 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_update()
832 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_final()
Dhmac.c153 crypto_shash_descsize(hash); in hmac_init_tfm()
Dadiantum.c432 crypto_shash_descsize(hash), in adiantum_init_tfm()
/Linux-v5.15/include/crypto/
Dhash.h826 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize() function
1002 sizeof(*desc) + crypto_shash_descsize(desc->tfm)); in shash_desc_zero()
/Linux-v5.15/fs/ksmbd/
Dcrypto_ctx.c91 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in alloc_shash_desc()
/Linux-v5.15/lib/
Ddigsig.c234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
/Linux-v5.15/crypto/asymmetric_keys/
Dx509_public_key.c66 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
Dverify_pefile.c336 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pefile_digest_pe()
Dpkcs7_verify.c47 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pkcs7_digest()
Dpublic_key.c274 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in cert_sig_digest_update()
/Linux-v5.15/net/ipv6/
Dseg6_hmac.c380 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
/Linux-v5.15/security/keys/
Ddh.c106 size = sizeof(struct shash_desc) + crypto_shash_descsize(tfm); in kdf_alloc()
/Linux-v5.15/drivers/target/iscsi/
Discsi_target_auth.c320 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in chap_server_compute_hash()
/Linux-v5.15/security/integrity/evm/
Devm_crypto.c121 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
/Linux-v5.15/drivers/crypto/bcm/
Dutil.c227 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in do_shash()
/Linux-v5.15/drivers/net/ppp/
Dppp_mppe.c192 crypto_shash_descsize(shash), in mppe_alloc()
/Linux-v5.15/drivers/crypto/
Dpadlock-sha.c210 hash->descsize += crypto_shash_descsize(fallback_tfm); in padlock_init_tfm()
/Linux-v5.15/net/bluetooth/
Damp.c149 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in hmac_sha256()
/Linux-v5.15/drivers/thunderbolt/
Ddomain.c739 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in tb_domain_challenge_switch_key()
/Linux-v5.15/include/linux/
Djbd2.h1791 BUG_ON(crypto_shash_descsize(journal->j_chksum_driver) > in jbd2_chksum()
/Linux-v5.15/security/keys/trusted-keys/
Dtrusted_tpm1.c43 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); in init_sdesc()

12