/linux/crypto/ |
H A D | shash.c | 74 buf += crypto_shash_descsize(tfm) - 1; in __crypto_shash_init() 106 memset(shash_desc_ctx(desc), 0, crypto_shash_descsize(desc->tfm)); in crypto_shash_op_and_zero() 135 blenp += crypto_shash_descsize(tfm) - 1; in crypto_shash_finup() 239 unsigned int descsize = crypto_shash_descsize(tfm); in crypto_shash_export() 264 descsize = crypto_shash_descsize(tfm); in __crypto_shash_import() 290 unsigned int descsize = crypto_shash_descsize(tfm); in crypto_shash_import()
|
H A D | jitterentropy-kcapi.c | 248 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in jent_kcapi_init()
|
H A D | hctr2.c | 368 crypto_shash_descsize(polyval), in hctr2_init_tfm()
|
H A D | adiantum.c | 462 crypto_shash_descsize(hash), in adiantum_init_tfm()
|
H A D | cryptd.c | 451 crypto_shash_descsize(hash)); in cryptd_hash_init_tfm()
|
/linux/Documentation/crypto/ |
H A D | api-digest.rst | 35 :functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shash_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shash_final crypto_shash_finup
|
H A D | api-samples.rst | 109 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg);
|
/linux/fs/ubifs/ |
H A D | auth.c | 98 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/include/crypto/ |
H A D | hash.h | 839 * crypto_shash_descsize() - obtain the operational state size 849 * sizeof(struct shash_desc) + crypto_shash_descsize(alg) 853 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize() function 926 * calling crypto_shash_descsize). 1019 sizeof(*desc) + crypto_shash_descsize(desc->tfm)); in shash_desc_zero()
|
/linux/fs/smb/server/ |
H A D | crypto_ctx.c | 88 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in alloc_shash_desc()
|
/linux/lib/ |
H A D | digsig.c | 234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
|
/linux/crypto/asymmetric_keys/ |
H A D | x509_public_key.c | 52 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
|
H A D | pkcs7_verify.c | 47 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pkcs7_digest()
|
/linux/drivers/crypto/xilinx/ |
H A D | zynqmp-sha.c | 61 if (crypto_shash_descsize(hash) < in zynqmp_sha_init_tfm()
|
/linux/crypto/krb5/ |
H A D | internal.h | 112 crypto_roundup(sizeof(struct shash_desc) + crypto_shash_descsize(TFM))
|
H A D | rfc3961_simplified.c | 152 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in rfc3961_calc_H()
|
/linux/net/ipv6/ |
H A D | seg6_hmac.c | 394 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
|
/linux/security/integrity/evm/ |
H A D | evm_crypto.c | 121 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
|
/linux/drivers/crypto/bcm/ |
H A D | util.c | 227 size = sizeof(struct shash_desc) + crypto_shash_descsize(hash); in do_shash()
|
/linux/drivers/target/iscsi/ |
H A D | iscsi_target_auth.c | 363 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(tfm), GFP_KERNEL); in chap_server_compute_hash()
|
/linux/drivers/nvme/target/ |
H A D | auth.c | 457 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(shash_tfm), in nvmet_auth_ctrl_hash()
|
/linux/drivers/thunderbolt/ |
H A D | domain.c | 736 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in tb_domain_challenge_switch_key()
|
/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm1.c | 43 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); in init_sdesc()
|
/linux/fs/smb/client/ |
H A D | misc.c | 1040 *sdesc = kmalloc(sizeof(struct shash_desc) + crypto_shash_descsize(alg), GFP_KERNEL); in cifs_alloc_hash()
|
/linux/drivers/tee/ |
H A D | tee_core.c | 160 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in uuid_v5()
|