Searched refs:crypto_shash_descsize (Results 1 – 25 of 40) sorted by relevance
12
/Linux-v5.4/fs/ubifs/ |
D | auth.c | 85 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/ |
D | api-digest.rst | 35 … crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_sha…
|
D | api-samples.rst | 109 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg);
|
/Linux-v5.4/crypto/ |
D | shash.c | 212 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()
|
D | hmac.c | 154 crypto_shash_descsize(hash); in hmac_init_tfm()
|
D | ccm.c | 844 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()
|
D | adiantum.c | 440 crypto_shash_descsize(hash), in adiantum_init_tfm()
|
/Linux-v5.4/include/crypto/ |
D | hash.h | 801 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/ |
D | hibernate.c | 86 desc = kmalloc(sizeof(struct shash_desc) + crypto_shash_descsize(tfm), in get_e820_md5()
|
/Linux-v5.4/lib/ |
D | digsig.c | 234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
|
/Linux-v5.4/crypto/asymmetric_keys/ |
D | x509_public_key.c | 63 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
|
D | pkcs7_verify.c | 47 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pkcs7_digest()
|
D | verify_pefile.c | 336 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pefile_digest_pe()
|
/Linux-v5.4/security/integrity/evm/ |
D | evm_crypto.c | 121 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
|
/Linux-v5.4/drivers/target/iscsi/ |
D | iscsi_target_auth.c | 240 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in chap_server_compute_md5()
|
/Linux-v5.4/net/ipv6/ |
D | seg6_hmac.c | 382 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
|
/Linux-v5.4/security/keys/ |
D | dh.c | 106 size = sizeof(struct shash_desc) + crypto_shash_descsize(tfm); in kdf_alloc()
|
/Linux-v5.4/drivers/crypto/bcm/ |
D | util.c | 227 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in do_shash()
|
/Linux-v5.4/drivers/net/ppp/ |
D | ppp_mppe.c | 192 crypto_shash_descsize(shash), in mppe_alloc()
|
/Linux-v5.4/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 970 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()
|
D | gss_krb5_mech.c | 432 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(hmac), GFP_NOFS); in context_derive_keys_rc4()
|
/Linux-v5.4/drivers/crypto/ |
D | padlock-sha.c | 212 hash->descsize += crypto_shash_descsize(fallback_tfm); in padlock_cra_init()
|
/Linux-v5.4/drivers/thunderbolt/ |
D | domain.c | 673 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in tb_domain_challenge_switch_key()
|
/Linux-v5.4/net/bluetooth/ |
D | amp.c | 149 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in hmac_sha256()
|
/Linux-v5.4/fs/cifs/ |
D | misc.c | 953 size = sizeof(struct shash_desc) + crypto_shash_descsize(*shash); in cifs_alloc_hash()
|
12