Home
last modified time | relevance | path

Searched refs:crypto_alloc_shash (Results 1 – 34 of 34) sorted by relevance

/linux-4.4.14/fs/btrfs/
Dhash.c22 tfm = crypto_alloc_shash("crc32c", 0, 0); in btrfs_hash_init()
/linux-4.4.14/lib/
Dlibcrc32c.c62 tfm = crypto_alloc_shash("crc32c", 0, 0); in libcrc32c_mod_init()
Dcrc-t10dif.c52 crct10dif_tfm = crypto_alloc_shash("crct10dif", 0, 0); in crc_t10dif_mod_init()
Ddigsig.c253 shash = crypto_alloc_shash("sha1", 0, 0); in digsig_init()
/linux-4.4.14/security/apparmor/
Dcrypto.c81 tfm = crypto_alloc_shash("sha1", 0, CRYPTO_ALG_ASYNC); in init_profile_hash()
/linux-4.4.14/security/integrity/ima/
Dima_crypto.c74 ima_shash_tfm = crypto_alloc_shash(hash_algo_name[ima_hash_algo], 0, 0); in ima_init_crypto()
93 tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0); in ima_alloc_tfm()
/linux-4.4.14/fs/cifs/
Dsmbencrypt.c140 md4 = crypto_alloc_shash("md4", 0, 0); in mdfour()
Dsmb2transport.c51 server->secmech.hmacsha256 = crypto_alloc_shash("hmac(sha256)", 0, 0); in smb2_crypto_shash_allocate()
86 server->secmech.cmacaes = crypto_alloc_shash("cmac(aes)", 0, 0); in smb3_crypto_shash_allocate()
Dcifsencrypt.c46 server->secmech.md5 = crypto_alloc_shash("md5", 0, 0); in cifs_crypto_shash_md5_allocate()
655 server->secmech.hmacmd5 = crypto_alloc_shash("hmac(md5)", 0, 0); in crypto_hmacmd5_alloc()
Dlink.c64 md5 = crypto_alloc_shash("md5", 0, 0); in symlink_hash()
/linux-4.4.14/drivers/crypto/vmx/
Dghash.c68 fallback = crypto_alloc_shash(alg, 0, CRYPTO_ALG_NEED_FALLBACK); in p8_ghash_init_tfm()
/linux-4.4.14/security/integrity/evm/
Devm_crypto.c54 *tfm = crypto_alloc_shash(algo, 0, CRYPTO_ALG_ASYNC); in init_desc()
/linux-4.4.14/crypto/
Dshash.c576 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, in crypto_alloc_shash() function
581 EXPORT_SYMBOL_GPL(crypto_alloc_shash);
Ddrbg.c1636 tfm = crypto_alloc_shash(drbg->core->backend_cra_name, 0, 0); in drbg_init_hash_kernel()
Dtestmgr.c1699 tfm = crypto_alloc_shash(driver, type | CRYPTO_ALG_INTERNAL, mask); in alg_test_crc32c()
/linux-4.4.14/crypto/asymmetric_keys/
Dx509_public_key.c181 tfm = crypto_alloc_shash(hash_algo_name[cert->sig.pkey_hash_algo], 0, 0); in x509_get_sig_params()
Dpkcs7_verify.c43 tfm = crypto_alloc_shash(hash_algo_name[sinfo->sig.pkey_hash_algo], in pkcs7_digest()
Dverify_pefile.c336 tfm = crypto_alloc_shash(hash_algo_name[ctx->digest_algo], 0, 0); in pefile_digest_pe()
/linux-4.4.14/include/crypto/
Dhash.h643 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type,
/linux-4.4.14/security/keys/encrypted-keys/
Dencrypted.c993 hmacalg = crypto_alloc_shash(hmac_alg, 0, CRYPTO_ALG_ASYNC); in encrypted_shash_alloc()
1000 hashalg = crypto_alloc_shash(hash_alg, 0, CRYPTO_ALG_ASYNC); in encrypted_shash_alloc()
/linux-4.4.14/security/keys/
Dtrusted.c1151 hmacalg = crypto_alloc_shash(hmac_alg, 0, CRYPTO_ALG_ASYNC); in trusted_shash_alloc()
1158 hashalg = crypto_alloc_shash(hash_alg, 0, CRYPTO_ALG_ASYNC); in trusted_shash_alloc()
/linux-4.4.14/drivers/crypto/
Dmv_cesa.c856 fallback_tfm = crypto_alloc_shash(fallback_driver_name, 0, in mv_cra_hash_init()
869 base_hash = crypto_alloc_shash(base_hash_name, 0, in mv_cra_hash_init()
Dpadlock-sha.c220 fallback_tfm = crypto_alloc_shash(fallback_driver_name, 0, in padlock_cra_init()
Domap-sham.c1246 tctx->fallback = crypto_alloc_shash(alg_name, 0, in omap_sham_cra_init_alg()
1260 bctx->shash = crypto_alloc_shash(alg_base, 0, in omap_sham_cra_init_alg()
Dsahara.c1187 ctx->shash_fallback = crypto_alloc_shash(name, 0, in sahara_sha_cra_init()
Dn2_core.c411 child_shash = crypto_alloc_shash(n2alg->child_alg, 0, 0); in n2_hmac_cra_init()
/linux-4.4.14/drivers/crypto/ccp/
Dccp-crypto-sha.c324 hmac_tfm = crypto_alloc_shash(alg->child_alg, 0, 0); in ccp_hmac_sha_cra_init()
/linux-4.4.14/net/bluetooth/
Damp.c144 tfm = crypto_alloc_shash("hmac(sha256)", 0, 0); in hmac_sha256()
/linux-4.4.14/kernel/
Dkexec_file.c563 tfm = crypto_alloc_shash("sha256", 0, 0); in kexec_calculate_store_digests()
/linux-4.4.14/fs/jbd2/
Djournal.c1550 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in journal_get_superblock()
1865 journal->j_chksum_driver = crypto_alloc_shash("crc32c", in jbd2_journal_set_features()
/linux-4.4.14/drivers/md/
Ddm-crypt.c485 lmk->hash_tfm = crypto_alloc_shash("md5", 0, 0); in crypt_iv_lmk_ctr()
639 tcw->crc32_tfm = crypto_alloc_shash("crc32", 0, 0); in crypt_iv_tcw_ctr()
Ddm-verity.c816 v->tfm = crypto_alloc_shash(v->alg_name, 0, 0); in verity_ctr()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_algs.c1063 ctx->hash_tfm = crypto_alloc_shash(hash_name, 0, 0); in qat_alg_aead_init()
/linux-4.4.14/fs/ext4/
Dsuper.c3197 sbi->s_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in ext4_fill_super()