| /linux/drivers/nvme/common/ |
| H A D | auth.c | 266 key_tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_transform_key() 319 tfm = crypto_alloc_shash(digest_name, 0, 0); in nvme_auth_hash_skey() 357 tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_augmented_challenge() 508 tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_generate_psk() 624 tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_generate_digest() 790 hmac_tfm = crypto_alloc_shash(hmac_name, 0, 0); in nvme_auth_derive_tls_psk()
|
| /linux/samples/tsm-mr/ |
| H A D | tsm_mr_sample.c | 29 tfm = crypto_alloc_shash(hash_algo_name[HASH_ALGO_SHA512], 0, 0); in sample_report_refresh() 52 desc->tfm = crypto_alloc_shash(hash_algo_name[mr->mr_hash], 0, 0); in sample_report_extend_mr()
|
| /linux/crypto/ |
| H A D | jitterentropy-kcapi.c | 234 hash = crypto_alloc_shash(JENT_CONDITIONING_HASH, 0, 0); in jent_kcapi_init() 335 tfm = crypto_alloc_shash(JENT_CONDITIONING_HASH, 0, 0); in jent_mod_init()
|
| H A D | shash.c | 385 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, in crypto_alloc_shash() function 390 EXPORT_SYMBOL_GPL(crypto_alloc_shash);
|
| H A D | hkdf.c | 471 tfm = crypto_alloc_shash(shash, 0, 0); in hkdf_test()
|
| /linux/crypto/krb5/ |
| H A D | rfc6803_camellia.c | 40 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 D | krb5_api.c | 242 ci = crypto_alloc_shash(krb5->cksum_name, 0, 0); in krb5_prepare_checksum()
|
| H A D | rfc8009_aes2.c | 48 shash = crypto_alloc_shash(krb5->cksum_name, 0, 0); in rfc8009_calc_KDF_HMAC_SHA2()
|
| /linux/include/crypto/internal/ |
| H A D | kdf_selftest.h | 40 kmd = crypto_alloc_shash(name, 0, 0); in kdf_test()
|
| /linux/net/mac80211/ |
| H A D | aes_cmac.c | 68 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); in ieee80211_aes_cmac_key_setup()
|
| H A D | fils_aead.c | 87 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/Documentation/crypto/ |
| H A D | api-digest.rst | 38 …:functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize cr…
|
| H A D | api-samples.rst | 142 alg = crypto_alloc_shash(hash_alg_name, 0, 0);
|
| /linux/fs/ubifs/ |
| H A D | auth.c | 301 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/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_keys.c | 386 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/drivers/target/iscsi/ |
| H A D | iscsi_target_auth.c | 78 tfm = crypto_alloc_shash(name, 0, 0); in chap_test_algorithm() 357 tfm = crypto_alloc_shash(chap->digest_name, 0, 0); in chap_server_compute_hash()
|
| /linux/fs/smb/server/ |
| H A D | crypto_ctx.c | 70 tfm = crypto_alloc_shash("cmac(aes)", 0, 0); in alloc_shash_desc()
|
| /linux/drivers/crypto/xilinx/ |
| H A D | zynqmp-sha.c | 56 fallback_tfm = crypto_alloc_shash(fallback_driver_name, 0, in zynqmp_sha_init_tfm()
|
| /linux/drivers/nvme/target/ |
| H A D | auth.c | 310 shash_tfm = crypto_alloc_shash(hash_name, 0, 0); in nvmet_auth_host_hash() 417 shash_tfm = crypto_alloc_shash(hash_name, 0, 0); in nvmet_auth_ctrl_hash()
|
| /linux/crypto/asymmetric_keys/ |
| H A D | x509_public_key.c | 65 tfm = crypto_alloc_shash(sig->hash_algo, 0, 0); in x509_get_sig_params()
|
| /linux/security/keys/ |
| H A D | dh.c | 72 tfm = crypto_alloc_shash(hashname, 0, 0); in kdf_alloc()
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_crypto_tkip.c | 96 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()
|
| /linux/security/integrity/ima/ |
| H A D | ima_crypto.c | 74 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/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 515 ctx->hashalg = crypto_alloc_shash("sha1", 0, 0); in cpt_aead_init() 519 ctx->hashalg = crypto_alloc_shash("sha256", 0, 0); in cpt_aead_init() 523 ctx->hashalg = crypto_alloc_shash("sha384", 0, 0); in cpt_aead_init() 527 ctx->hashalg = crypto_alloc_shash("sha512", 0, 0); in cpt_aead_init()
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptvf_algs.c | 605 ctx->hashalg = crypto_alloc_shash("sha1", 0, 0); in cpt_aead_init() 609 ctx->hashalg = crypto_alloc_shash("sha256", 0, 0); in cpt_aead_init() 613 ctx->hashalg = crypto_alloc_shash("sha384", 0, 0); in cpt_aead_init() 617 ctx->hashalg = crypto_alloc_shash("sha512", 0, 0); in cpt_aead_init()
|