Home
last modified time | relevance | path

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

1234

/linux-6.15/fs/smb/server/
H 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-6.15/drivers/nvme/common/
H A Dauth.c266 key_tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_transform_key()
330 tfm = crypto_alloc_shash(digest_name, 0, 0); in nvme_auth_hash_skey()
368 tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_augmented_challenge()
519 tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_generate_psk()
635 tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_generate_digest()
748 hmac_tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_derive_tls_psk()
/linux-6.15/crypto/
H A Djitterentropy-kcapi.c240 hash = crypto_alloc_shash(JENT_CONDITIONING_HASH, 0, 0); in jent_kcapi_init()
341 tfm = crypto_alloc_shash(JENT_CONDITIONING_HASH, 0, 0); in jent_mod_init()
H A Dshash.c241 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, in crypto_alloc_shash() function
246 EXPORT_SYMBOL_GPL(crypto_alloc_shash);
H A Dhkdf.c471 tfm = crypto_alloc_shash(shash, 0, 0); in hkdf_test()
/linux-6.15/crypto/krb5/
H A Drfc6803_camellia.c40 shash = crypto_alloc_shash(krb5->cksum_name, 0, 0); in rfc6803_calc_KDF_FEEDBACK_CMAC()
131 shash = crypto_alloc_shash(krb5->cksum_name, 0, 0); in rfc6803_calc_PRF()
H A Dkrb5_api.c242 ci = crypto_alloc_shash(krb5->cksum_name, 0, 0); in krb5_prepare_checksum()
/linux-6.15/include/crypto/internal/
H A Dkdf_selftest.h40 kmd = crypto_alloc_shash(name, 0, 0); in kdf_test()
/linux-6.15/fs/crypto/
H A Dhkdf.c59 hmac_tfm = crypto_alloc_shash(HKDF_HMAC_ALG, 0, 0); in fscrypt_init_hkdf()
/linux-6.15/Documentation/crypto/
H A Dapi-digest.rst35 …:functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize cr…
/linux-6.15/net/mac80211/
H A Daes_cmac.c76 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); in ieee80211_aes_cmac_key_setup()
H 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()
/linux-6.15/security/apparmor/
H A Dcrypto.c109 tfm = crypto_alloc_shash("sha256", 0, 0); in init_profile_hash()
/linux-6.15/fs/ubifs/
H A Dauth.c301 c->hash_tfm = crypto_alloc_shash(c->auth_hash_name, 0, 0); in ubifs_init_authentication()
317 c->hmac_tfm = crypto_alloc_shash(hmac_name, 0, 0); in ubifs_init_authentication()
/linux-6.15/net/sunrpc/auth_gss/
H A Dgss_krb5_keys.c386 tfm = crypto_alloc_shash(gk5e->cksum_name, 0, 0); in krb5_kdf_feedback_cmac()
518 tfm = crypto_alloc_shash(gk5e->cksum_name, 0, 0); in krb5_kdf_hmac_sha2()
/linux-6.15/drivers/target/iscsi/
H A Discsi_target_auth.c77 tfm = crypto_alloc_shash(name, 0, 0); in chap_test_algorithm()
356 tfm = crypto_alloc_shash(chap->digest_name, 0, 0); in chap_server_compute_hash()
/linux-6.15/fs/verity/
H A Dhash_algs.c65 tfm = crypto_alloc_shash(alg->name, 0, 0); in fsverity_get_hash_alg()
/linux-6.15/security/ipe/
H A Daudit.c187 tfm = crypto_alloc_shash(IPE_AUDIT_HASH_ALG, 0, 0); in audit_policy()
/linux-6.15/lib/
H A Ddigsig.c261 shash = crypto_alloc_shash("sha1", 0, 0); in digsig_init()
/linux-6.15/crypto/asymmetric_keys/
H A Dx509_public_key.c43 tfm = crypto_alloc_shash(sig->hash_algo, 0, 0); in x509_get_sig_params()
/linux-6.15/drivers/crypto/xilinx/
H A Dzynqmp-sha.c58 fallback_tfm = crypto_alloc_shash(fallback_driver_name, 0, in zynqmp_sha_init_tfm()
/linux-6.15/drivers/nvme/target/
H A Dauth.c307 shash_tfm = crypto_alloc_shash(hash_name, 0, 0); in nvmet_auth_host_hash()
421 shash_tfm = crypto_alloc_shash(hash_name, 0, 0); in nvmet_auth_ctrl_hash()
/linux-6.15/security/keys/
H A Ddh.c72 tfm = crypto_alloc_shash(hashname, 0, 0); in kdf_alloc()
/linux-6.15/security/integrity/ima/
H A Dima_crypto.c74 ima_shash_tfm = crypto_alloc_shash(hash_algo_name[ima_hash_algo], 0, 0); in ima_init_ima_crypto()
101 tfm = crypto_alloc_shash(hash_algo_name[algo], 0, 0); in ima_alloc_tfm()
/linux-6.15/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_crypto_tkip.c96 priv->tx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in libipw_tkip_init()
102 priv->rx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in libipw_tkip_init()

1234