Home
last modified time | relevance | path

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

12

/openbmc/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);
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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 Djitterentropy-kcapi.c237 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in jent_kcapi_init()
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.c157 crypto_shash_descsize(hash); in hmac_init_tfm()
H A Dhctr2.c368 crypto_shash_descsize(polyval), in hctr2_init_tfm()
H A Dadiantum.c431 crypto_shash_descsize(hash), in adiantum_init_tfm()
/openbmc/linux/include/crypto/
H A Dhash.h880 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize() function
1056 sizeof(*desc) + crypto_shash_descsize(desc->tfm)); in shash_desc_zero()
/openbmc/linux/fs/smb/server/
H A Dcrypto_ctx.c91 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in alloc_shash_desc()
/openbmc/linux/drivers/nvme/target/
H A Dauth.c325 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(shash_tfm), in nvmet_auth_host_hash()
434 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(shash_tfm), in nvmet_auth_ctrl_hash()
/openbmc/linux/lib/
H A Ddigsig.c234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
/openbmc/linux/drivers/crypto/xilinx/
H A Dzynqmp-sha.c64 hash->descsize += crypto_shash_descsize(tfm_ctx->fbk_tfm); in zynqmp_sha_init_tfm()
/openbmc/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()
/openbmc/linux/security/integrity/evm/
H A Devm_crypto.c121 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
/openbmc/linux/net/ipv6/
H A Dseg6_hmac.c383 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
/openbmc/linux/drivers/net/ppp/
H A Dppp_mppe.c192 crypto_shash_descsize(shash), in mppe_alloc()
/openbmc/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()
/openbmc/linux/drivers/crypto/bcm/
H A Dutil.c227 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in do_shash()
/openbmc/linux/drivers/crypto/
H A Dpadlock-sha.c210 hash->descsize += crypto_shash_descsize(fallback_tfm); in padlock_init_tfm()
/openbmc/linux/drivers/thunderbolt/
H A Ddomain.c732 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in tb_domain_challenge_switch_key()

12