Home
last modified time | relevance | path

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

/linux-4.1.27/security/apparmor/
Dcrypto.c37 char ctx[crypto_shash_descsize(apparmor_tfm)]; in aa_calc_profile_hash()
/linux-4.1.27/crypto/
Dshash.c191 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()
Dhmac.c169 crypto_shash_descsize(hash); in hmac_init_tfm()
Dmcryptd.c290 crypto_shash_descsize(hash)); in mcryptd_hash_init_tfm()
Dcryptd.c409 crypto_shash_descsize(hash)); in cryptd_hash_init_tfm()
Ddrbg.c1591 sdesc = kzalloc(sizeof(struct shash_desc) + crypto_shash_descsize(tfm), in drbg_init_hash_kernel()
/linux-4.1.27/include/crypto/
Dhash.h146 crypto_shash_descsize(ctx)] CRYPTO_MINALIGN_ATTR; \
720 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) in crypto_shash_descsize() function
/linux-4.1.27/fs/cifs/
Dsmbencrypt.c147 size = sizeof(struct shash_desc) + crypto_shash_descsize(md4); in mdfour()
Dsmb2transport.c60 crypto_shash_descsize(server->secmech.hmacsha256); in smb2_crypto_shash_allocate()
99 crypto_shash_descsize(server->secmech.cmacaes); in smb3_crypto_shash_allocate()
Dcifsencrypt.c55 crypto_shash_descsize(server->secmech.md5); in cifs_crypto_shash_md5_allocate()
664 crypto_shash_descsize(server->secmech.hmacmd5); in crypto_hmacmd5_alloc()
Dlink.c71 size = sizeof(struct shash_desc) + crypto_shash_descsize(md5); in symlink_hash()
/linux-4.1.27/drivers/crypto/vmx/
Dghash.c82 + crypto_shash_descsize(fallback); in p8_ghash_init_tfm()
/linux-4.1.27/kernel/
Dmodule_signing.c62 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in mod_make_digest()
Dkexec.c2201 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in kexec_calculate_store_digests()
/linux-4.1.27/lib/
Ddigsig.c224 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash), in digsig_verify()
/linux-4.1.27/security/integrity/evm/
Devm_crypto.c75 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
/linux-4.1.27/crypto/asymmetric_keys/
Dpkcs7_verify.c48 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pkcs7_digest()
Dx509_public_key.c160 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in x509_get_sig_params()
Dverify_pefile.c340 desc_size = crypto_shash_descsize(tfm) + sizeof(*desc); in pefile_digest_pe()
/linux-4.1.27/net/bluetooth/
Damp.c155 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm), in hmac_sha256()
/linux-4.1.27/drivers/crypto/
Dpadlock-sha.c230 hash->descsize += crypto_shash_descsize(fallback_tfm); in padlock_cra_init()
Dmv_cesa.c878 crypto_shash_descsize(ctx->fallback)); in mv_cra_hash_init()
/linux-4.1.27/include/linux/
Djbd2.h1372 BUG_ON(crypto_shash_descsize(journal->j_chksum_driver) > in jbd2_chksum()
/linux-4.1.27/security/keys/encrypted-keys/
Dencrypted.c329 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); in alloc_sdesc()
/linux-4.1.27/drivers/md/
Ddm-verity.c852 sizeof(struct shash_desc) + crypto_shash_descsize(v->tfm); in verity_ctr()
/linux-4.1.27/security/keys/
Dtrusted.c50 size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); in init_sdesc()
/linux-4.1.27/fs/ext4/
Dext4.h1839 BUG_ON(crypto_shash_descsize(sbi->s_chksum_driver)!=sizeof(desc.ctx)); in ext4_chksum()