Home
last modified time | relevance | path

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

1234

/Linux-v5.10/drivers/net/wireless/intersil/orinoco/
Dmic.c19 priv->tx_tfm_mic = crypto_alloc_shash("michael_mic", 0, 0); in orinoco_mic_init()
27 priv->rx_tfm_mic = crypto_alloc_shash("michael_mic", 0, 0); in orinoco_mic_init()
/Linux-v5.10/arch/powerpc/crypto/
Dcrc-vpmsum_test.c43 crct10dif_tfm = crypto_alloc_shash("crct10dif", 0, 0); in crc_test_init()
50 crc32c_tfm = crypto_alloc_shash("crc32c", 0, 0); in crc_test_init()
/Linux-v5.10/lib/
Dlibcrc32c.c59 tfm = crypto_alloc_shash("crc32c", 0, 0); in libcrc32c_mod_init()
Dcrc-t10dif.c43 new = crypto_alloc_shash(CRC_T10DIF_STRING, 0, 0); in crc_t10dif_rehash()
Ddigsig.c261 shash = crypto_alloc_shash("sha1", 0, 0); in digsig_init()
/Linux-v5.10/Documentation/crypto/
Dapi-digest.rst35 …:functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize cr…
Dapi-samples.rst142 alg = crypto_alloc_shash(hash_alg_name, 0, 0);
/Linux-v5.10/net/mac80211/
Daes_cmac.c75 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); in ieee80211_aes_cmac_key_setup()
Dfils_aead.c87 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); in aes_siv_encrypt()
202 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); in aes_siv_decrypt()
/Linux-v5.10/security/apparmor/
Dcrypto.c109 tfm = crypto_alloc_shash("sha1", 0, 0); in init_profile_hash()
/Linux-v5.10/drivers/target/iscsi/
Discsi_target_auth.c77 tfm = crypto_alloc_shash(name, 0, 0); in chap_test_algorithm()
313 tfm = crypto_alloc_shash(chap->digest_name, 0, 0); in chap_server_compute_hash()
/Linux-v5.10/fs/ubifs/
Dauth.c303 c->hash_tfm = crypto_alloc_shash(c->auth_hash_name, 0, 0); in ubifs_init_authentication()
319 c->hmac_tfm = crypto_alloc_shash(hmac_name, 0, 0); in ubifs_init_authentication()
/Linux-v5.10/fs/crypto/
Dhkdf.c70 hmac_tfm = crypto_alloc_shash(HKDF_HMAC_ALG, 0, 0); in fscrypt_init_hkdf()
/Linux-v5.10/arch/x86/power/
Dhibernate.c82 tfm = crypto_alloc_shash("md5", 0, 0); in get_e820_md5()
/Linux-v5.10/crypto/asymmetric_keys/
Dx509_public_key.c57 tfm = crypto_alloc_shash(sig->hash_algo, 0, 0); in x509_get_sig_params()
Dpkcs7_verify.c43 tfm = crypto_alloc_shash(sinfo->sig->hash_algo, 0, 0); in pkcs7_digest()
/Linux-v5.10/crypto/
Dshash.c505 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, in crypto_alloc_shash() function
510 EXPORT_SYMBOL_GPL(crypto_alloc_shash);
/Linux-v5.10/security/integrity/ima/
Dima_crypto.c79 ima_shash_tfm = crypto_alloc_shash(hash_algo_name[ima_hash_algo], 0, 0); in ima_init_ima_crypto()
106 tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0); in ima_alloc_tfm()
/Linux-v5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c73 priv->tx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in ieee80211_tkip_init()
81 priv->rx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in ieee80211_tkip_init()
/Linux-v5.10/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c69 priv->tx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in rtllib_tkip_init()
76 priv->rx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in rtllib_tkip_init()
/Linux-v5.10/net/wireless/
Dlib80211_crypt_tkip.c103 priv->tx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in lib80211_tkip_init()
109 priv->rx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in lib80211_tkip_init()
/Linux-v5.10/security/integrity/evm/
Devm_crypto.c100 tmp_tfm = crypto_alloc_shash(algo, 0, CRYPTO_NOLOAD); in init_desc()
/Linux-v5.10/net/ipv6/
Dseg6_hmac.c371 tfm = crypto_alloc_shash(algo->name, 0, 0); in seg6_hmac_init_algo()
/Linux-v5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c524 ctx->hashalg = crypto_alloc_shash("sha1", 0, in cpt_aead_init()
531 ctx->hashalg = crypto_alloc_shash("sha256", 0, in cpt_aead_init()
538 ctx->hashalg = crypto_alloc_shash("sha384", 0, in cpt_aead_init()
545 ctx->hashalg = crypto_alloc_shash("sha512", 0, in cpt_aead_init()
/Linux-v5.10/security/keys/
Ddh.c95 tfm = crypto_alloc_shash(hashname, 0, 0); in kdf_alloc()

1234