Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/ubifs/
Dauth.c85 hash = kmalloc(crypto_shash_descsize(c->hash_tfm), GFP_NOFS); in ubifs_prepare_auth_node()
123 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in ubifs_get_desc()
503 state = kmalloc(crypto_shash_descsize(src->tfm), GFP_NOFS); in __ubifs_shash_copy_state()
/Linux-v5.4/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.4/crypto/
Dshash.c212 memcpy(out, shash_desc_ctx(desc), crypto_shash_descsize(desc->tfm)); in shash_default_export()
218 memcpy(shash_desc_ctx(desc), in, crypto_shash_descsize(desc->tfm)); in shash_default_import()
384 crt->reqsize = sizeof(struct shash_desc) + crypto_shash_descsize(shash); in crypto_init_shash_ops_async()
Dhmac.c154 crypto_shash_descsize(hash); in hmac_init_tfm()
Dccm.c844 u8 *dg = (u8 *)ctx + crypto_shash_descsize(pdesc->tfm) - bs; in crypto_cbcmac_digest_init()
860 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_update()
886 u8 *dg = (u8 *)ctx + crypto_shash_descsize(parent) - bs; in crypto_cbcmac_digest_final()
Dadiantum.c440 crypto_shash_descsize(hash), in adiantum_init_tfm()
/Linux-v5.4/include/crypto/
Dhash.h801 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize() function
958 sizeof(*desc) + crypto_shash_descsize(desc->tfm)); in shash_desc_zero()
/Linux-v5.4/arch/x86/power/
Dhibernate.c86 desc = kmalloc(sizeof(struct shash_desc) + crypto_shash_descsize(tfm), in get_e820_md5()
/Linux-v5.4/lib/
Ddigsig.c234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
/Linux-v5.4/crypto/asymmetric_keys/
Dx509_public_key.c63 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
Dpkcs7_verify.c47 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pkcs7_digest()
Dverify_pefile.c336 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pefile_digest_pe()
/Linux-v5.4/security/integrity/evm/
Devm_crypto.c121 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
/Linux-v5.4/drivers/target/iscsi/
Discsi_target_auth.c240 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in chap_server_compute_md5()
/Linux-v5.4/net/ipv6/
Dseg6_hmac.c382 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
/Linux-v5.4/security/keys/
Ddh.c106 size = sizeof(struct shash_desc) + crypto_shash_descsize(tfm); in kdf_alloc()
/Linux-v5.4/drivers/crypto/bcm/
Dutil.c227 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in do_shash()
/Linux-v5.4/drivers/net/ppp/
Dppp_mppe.c192 crypto_shash_descsize(shash), in mppe_alloc()
/Linux-v5.4/net/sunrpc/auth_gss/
Dgss_krb5_crypto.c970 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(hmac), in krb5_rc4_setup_seq_key()
1037 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(hmac), in krb5_rc4_setup_enc_key()
Dgss_krb5_mech.c432 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(hmac), GFP_NOFS); in context_derive_keys_rc4()
/Linux-v5.4/drivers/crypto/
Dpadlock-sha.c212 hash->descsize += crypto_shash_descsize(fallback_tfm); in padlock_cra_init()
/Linux-v5.4/drivers/thunderbolt/
Ddomain.c673 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in tb_domain_challenge_switch_key()
/Linux-v5.4/net/bluetooth/
Damp.c149 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in hmac_sha256()
/Linux-v5.4/fs/cifs/
Dmisc.c953 size = sizeof(struct shash_desc) + crypto_shash_descsize(*shash); in cifs_alloc_hash()

12