Searched refs:crypto_shash_descsize (Results 1 – 27 of 27) sorted by relevance
37 char ctx[crypto_shash_descsize(apparmor_tfm)]; in aa_calc_profile_hash()
191 memcpy(out, shash_desc_ctx(desc), crypto_shash_descsize(desc->tfm)); in shash_default_export()197 memcpy(shash_desc_ctx(desc), in, crypto_shash_descsize(desc->tfm)); in shash_default_import()366 crt->reqsize = sizeof(struct shash_desc) + crypto_shash_descsize(shash); in crypto_init_shash_ops_async()473 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(shash), in crypto_init_shash_ops_compat()
169 crypto_shash_descsize(hash); in hmac_init_tfm()
290 crypto_shash_descsize(hash)); in mcryptd_hash_init_tfm()
409 crypto_shash_descsize(hash)); in cryptd_hash_init_tfm()
1591 sdesc = kzalloc(sizeof(struct shash_desc) + crypto_shash_descsize(tfm), in drbg_init_hash_kernel()
146 crypto_shash_descsize(ctx)] CRYPTO_MINALIGN_ATTR; \720 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize() function
147 size = sizeof(struct shash_desc) + crypto_shash_descsize(md4); in mdfour()
60 crypto_shash_descsize(server->secmech.hmacsha256); in smb2_crypto_shash_allocate()99 crypto_shash_descsize(server->secmech.cmacaes); in smb3_crypto_shash_allocate()
55 crypto_shash_descsize(server->secmech.md5); in cifs_crypto_shash_md5_allocate()664 crypto_shash_descsize(server->secmech.hmacmd5); in crypto_hmacmd5_alloc()
71 size = sizeof(struct shash_desc) + crypto_shash_descsize(md5); in symlink_hash()
82 + crypto_shash_descsize(fallback); in p8_ghash_init_tfm()
62 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in mod_make_digest()
2201 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in kexec_calculate_store_digests()
224 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
75 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
48 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pkcs7_digest()
160 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
340 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pefile_digest_pe()
155 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in hmac_sha256()
230 hash->descsize += crypto_shash_descsize(fallback_tfm); in padlock_cra_init()
878 crypto_shash_descsize(ctx->fallback)); in mv_cra_hash_init()
1372 BUG_ON(crypto_shash_descsize(journal->j_chksum_driver) > in jbd2_chksum()
329 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); in alloc_sdesc()
852 sizeof(struct shash_desc) + crypto_shash_descsize(v->tfm); in verity_ctr()
50 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); in init_sdesc()
1839 BUG_ON(crypto_shash_descsize(sbi->s_chksum_driver)!=sizeof(desc.ctx)); in ext4_chksum()