Home
last modified time | relevance | path

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

1234

/linux/fs/ksmbd/
A Dcrypto_ctx.c70 tfm = crypto_alloc_shash("hmac(md5)", 0, 0); in alloc_shash_desc()
73 tfm = crypto_alloc_shash("hmac(sha256)", 0, 0); in alloc_shash_desc()
76 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); in alloc_shash_desc()
79 tfm = crypto_alloc_shash("sha256", 0, 0); in alloc_shash_desc()
82 tfm = crypto_alloc_shash("sha512", 0, 0); in alloc_shash_desc()
/linux/drivers/net/wireless/intersil/orinoco/
A 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/arch/powerpc/crypto/
A 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/lib/
A Dlibcrc32c.c59 tfm = crypto_alloc_shash("crc32c", 0, 0); in libcrc32c_mod_init()
A Dcrc-t10dif.c43 new = crypto_alloc_shash(CRC_T10DIF_STRING, 0, 0); in crc_t10dif_rehash()
A Ddigsig.c261 shash = crypto_alloc_shash("sha1", 0, 0); in digsig_init()
/linux/Documentation/crypto/
A Dapi-digest.rst35 …:functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize cr…
A Dapi-samples.rst142 alg = crypto_alloc_shash(hash_alg_name, 0, 0);
/linux/net/mac80211/
A 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()
A Daes_cmac.c76 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); in ieee80211_aes_cmac_key_setup()
/linux/security/apparmor/
A Dcrypto.c109 tfm = crypto_alloc_shash("sha1", 0, 0); in init_profile_hash()
/linux/fs/ubifs/
A Dauth.c302 c->hash_tfm = crypto_alloc_shash(c->auth_hash_name, 0, 0); in ubifs_init_authentication()
318 c->hmac_tfm = crypto_alloc_shash(hmac_name, 0, 0); in ubifs_init_authentication()
/linux/drivers/target/iscsi/
A 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/fs/crypto/
A Dhkdf.c75 hmac_tfm = crypto_alloc_shash(HKDF_HMAC_ALG, 0, 0); in fscrypt_init_hkdf()
/linux/drivers/infiniband/sw/rxe/
A Drxe_icrc.c22 tfm = crypto_alloc_shash("crc32", 0, 0); in rxe_icrc_init()
/linux/crypto/
A Dshash.c517 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, in crypto_alloc_shash() function
522 EXPORT_SYMBOL_GPL(crypto_alloc_shash);
/linux/crypto/asymmetric_keys/
A Dx509_public_key.c57 tfm = crypto_alloc_shash(sig->hash_algo, 0, 0); in x509_get_sig_params()
/linux/drivers/staging/rtl8192u/ieee80211/
A 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/drivers/staging/rtl8192e/
A 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/net/wireless/
A 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/security/integrity/ima/
A 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/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_algs.c525 ctx->hashalg = crypto_alloc_shash("sha1", 0, in cpt_aead_init()
532 ctx->hashalg = crypto_alloc_shash("sha256", 0, in cpt_aead_init()
539 ctx->hashalg = crypto_alloc_shash("sha384", 0, in cpt_aead_init()
546 ctx->hashalg = crypto_alloc_shash("sha512", 0, in cpt_aead_init()
/linux/net/ipv6/
A Dseg6_hmac.c370 tfm = crypto_alloc_shash(algo->name, 0, 0); in seg6_hmac_init_algo()
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptvf_algs.c590 ctx->hashalg = crypto_alloc_shash("sha1", 0, in cpt_aead_init()
597 ctx->hashalg = crypto_alloc_shash("sha256", 0, in cpt_aead_init()
604 ctx->hashalg = crypto_alloc_shash("sha384", 0, in cpt_aead_init()
611 ctx->hashalg = crypto_alloc_shash("sha512", 0, in cpt_aead_init()
/linux/security/keys/encrypted-keys/
A Dencrypted.c332 tfm = crypto_alloc_shash(hmac_alg, 0, 0); in calc_hmac()
981 hash_tfm = crypto_alloc_shash(hash_alg, 0, 0); in init_encrypted()

Completed in 35 milliseconds

1234