Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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);
/OK3568_Linux_fs/kernel/crypto/
H A 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()
H A 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()
H A Dhmac.c153 crypto_shash_descsize(hash); in hmac_init_tfm()
H A Dadiantum.c432 crypto_shash_descsize(hash), in adiantum_init_tfm()
/OK3568_Linux_fs/kernel/fs/ubifs/
H A Dauth.c100 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in ubifs_get_desc()
482 state = kmalloc(crypto_shash_descsize(src->tfm), GFP_NOFS); in __ubifs_shash_copy_state()
/OK3568_Linux_fs/kernel/include/crypto/
H A 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()
/OK3568_Linux_fs/kernel/lib/
H A Ddigsig.c234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
/OK3568_Linux_fs/kernel/crypto/asymmetric_keys/
H A Dx509_public_key.c66 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.c336 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pefile_digest_pe()
H A Dpublic_key.c276 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in cert_sig_digest_update()
/OK3568_Linux_fs/kernel/security/integrity/evm/
H A Devm_crypto.c119 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dseg6_hmac.c381 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
/OK3568_Linux_fs/kernel/security/keys/
H A Ddh.c106 size = sizeof(struct shash_desc) + crypto_shash_descsize(tfm); in kdf_alloc()
/OK3568_Linux_fs/kernel/drivers/target/iscsi/
H A Discsi_target_auth.c320 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in chap_server_compute_hash()
/OK3568_Linux_fs/kernel/drivers/crypto/bcm/
H A Dutil.c227 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in do_shash()
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dppp_mppe.c192 crypto_shash_descsize(shash), in mppe_alloc()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dpadlock-sha.c209 hash->descsize += crypto_shash_descsize(fallback_tfm); in padlock_init_tfm()
/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A Ddomain.c702 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in tb_domain_challenge_switch_key()
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Damp.c149 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in hmac_sha256()
/OK3568_Linux_fs/kernel/include/linux/
H A Djbd2.h1735 BUG_ON(crypto_shash_descsize(journal->j_chksum_driver) > in jbd2_chksum()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dmisc.c944 size = sizeof(struct shash_desc) + crypto_shash_descsize(*shash); in cifs_alloc_hash()
/OK3568_Linux_fs/kernel/kernel/
H A Dkexec_file.c709 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in kexec_calculate_store_digests()

12