Home
last modified time | relevance | path

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

12

/linux/crypto/
H A Dshash.c74 buf += crypto_shash_descsize(tfm) - 1; in __crypto_shash_init()
106 memset(shash_desc_ctx(desc), 0, crypto_shash_descsize(desc->tfm)); in crypto_shash_op_and_zero()
135 blenp += crypto_shash_descsize(tfm) - 1; in crypto_shash_finup()
239 unsigned int descsize = crypto_shash_descsize(tfm); in crypto_shash_export()
264 descsize = crypto_shash_descsize(tfm); in __crypto_shash_import()
290 unsigned int descsize = crypto_shash_descsize(tfm); in crypto_shash_import()
H A Djitterentropy-kcapi.c248 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in jent_kcapi_init()
H A Dhctr2.c368 crypto_shash_descsize(polyval), in hctr2_init_tfm()
H A Dadiantum.c462 crypto_shash_descsize(hash), in adiantum_init_tfm()
H A Dcryptd.c451 crypto_shash_descsize(hash)); in cryptd_hash_init_tfm()
/linux/Documentation/crypto/
H A Dapi-digest.rst35 :functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shash_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shash_final crypto_shash_finup
H A Dapi-samples.rst109 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg);
/linux/fs/ubifs/
H A Dauth.c98 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in ubifs_get_desc()
480 state = kmalloc(crypto_shash_descsize(src->tfm), GFP_NOFS); in __ubifs_shash_copy_state()
/linux/include/crypto/
H A Dhash.h839 * crypto_shash_descsize() - obtain the operational state size
849 * sizeof(struct shash_desc) + crypto_shash_descsize(alg)
853 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize() function
926 * calling crypto_shash_descsize).
1019 sizeof(*desc) + crypto_shash_descsize(desc->tfm)); in shash_desc_zero()
/linux/fs/smb/server/
H A Dcrypto_ctx.c88 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in alloc_shash_desc()
/linux/lib/
H A Ddigsig.c234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
/linux/crypto/asymmetric_keys/
H A Dx509_public_key.c52 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()
/linux/drivers/crypto/xilinx/
H A Dzynqmp-sha.c61 if (crypto_shash_descsize(hash) < in zynqmp_sha_init_tfm()
/linux/crypto/krb5/
H A Dinternal.h112 crypto_roundup(sizeof(struct shash_desc) + crypto_shash_descsize(TFM))
H A Drfc3961_simplified.c152 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in rfc3961_calc_H()
/linux/net/ipv6/
H A Dseg6_hmac.c394 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
/linux/security/integrity/evm/
H A Devm_crypto.c121 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
/linux/drivers/crypto/bcm/
H A Dutil.c227 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in do_shash()
/linux/drivers/target/iscsi/
H A Discsi_target_auth.c363 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in chap_server_compute_hash()
/linux/drivers/nvme/target/
H A Dauth.c457 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(shash_tfm), in nvmet_auth_ctrl_hash()
/linux/drivers/thunderbolt/
H A Ddomain.c736 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in tb_domain_challenge_switch_key()
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c43 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); in init_sdesc()
/linux/fs/smb/client/
H A Dmisc.c1040 *sdesc = kmalloc(sizeof(struct shash_desc) + crypto_shash_descsize(alg), GFP_KERNEL); in cifs_alloc_hash()
/linux/drivers/tee/
H A Dtee_core.c160 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in uuid_v5()

12