Home
last modified time | relevance | path

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

12

/linux/Documentation/crypto/
H A Dapi-digest.rst35 … crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_sha…
H A Dapi-samples.rst109 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg);
/linux/include/crypto/
H A Dhash.h785 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize() function
950 sizeof(*desc) + crypto_shash_descsize(desc->tfm)); in shash_desc_zero()
/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/crypto/
H A Dshash.c123 memcpy(out, shash_desc_ctx(desc), crypto_shash_descsize(tfm)); in crypto_shash_export()
139 memcpy(shash_desc_ctx(desc), in, crypto_shash_descsize(tfm)); in crypto_shash_import()
H A Djitterentropy-kcapi.c247 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in jent_kcapi_init()
H A Dhmac.c150 crypto_shash_descsize(hash); in hmac_init_tfm()
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 Dahash.c135 crt->reqsize = sizeof(struct shash_desc) + crypto_shash_descsize(shash); in crypto_init_ahash_using_shash()
/linux/fs/smb/server/
H A Dcrypto_ctx.c91 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/drivers/nvme/target/
H A Dauth.c324 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(shash_tfm), in nvmet_auth_host_hash()
433 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(shash_tfm), in nvmet_auth_ctrl_hash()
/linux/drivers/crypto/xilinx/
H A Dzynqmp-sha.c64 hash->descsize += crypto_shash_descsize(tfm_ctx->fbk_tfm); in zynqmp_sha_init_tfm()
/linux/crypto/asymmetric_keys/
H A Dx509_public_key.c53 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()
H A Dverify_pefile.c340 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pefile_digest_pe()
/linux/security/integrity/evm/
H A Devm_crypto.c121 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
/linux/net/ipv6/
H A Dseg6_hmac.c385 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
/linux/drivers/nvme/common/
H A Dauth.c268 crypto_shash_descsize(key_tfm), in nvme_auth_transform_key()
/linux/drivers/crypto/bcm/
H A Dutil.c227 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in do_shash()
/linux/drivers/net/ppp/
H A Dppp_mppe.c192 crypto_shash_descsize(shash), in mppe_alloc()
/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/crypto/
H A Dpadlock-sha.c210 hash->descsize += crypto_shash_descsize(fallback_tfm); in padlock_init_tfm()
/linux/drivers/thunderbolt/
H A Ddomain.c736 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in tb_domain_challenge_switch_key()

12