Home
last modified time | relevance | path

Searched refs:crypto_shash_init (Results 1 – 25 of 68) sorted by relevance

123

/linux/crypto/
H A Djitterentropy-kcapi.c135 ret = crypto_shash_init(desc) ?: in jent_hash_time()
178 crypto_shash_init(hash_state_desc) ?: in jent_read_random_block()
255 crypto_shash_init(sdesc); in jent_kcapi_init()
348 crypto_shash_init(desc); in jent_mod_init()
H A Dhmac.c68 return crypto_shash_init(shash) ?: in hmac_setkey()
71 crypto_shash_init(shash) ?: in hmac_setkey()
H A Dkdf_sp800108.c31 err = crypto_shash_init(desc); in crypto_kdf108_ctr_generate()
H A Dahash.c99 err = crypto_shash_init(desc) ?: in shash_ahash_digest()
258 return crypto_shash_init(prepare_shash_desc(req, tfm)); in crypto_ahash_init()
/linux/net/mac80211/
H A Daes_cmac.c34 crypto_shash_init(desc); in ieee80211_aes_cmac()
57 crypto_shash_init(desc); in ieee80211_aes_cmac_256()
H A Dfils_aead.c44 crypto_shash_init(desc); in aes_s2v()
/linux/security/apparmor/
H A Dcrypto.c43 error = crypto_shash_init(desc); in aa_calc_hash()
80 error = crypto_shash_init(desc); in aa_calc_profile_hash()
/linux/arch/powerpc/crypto/
H A Dcrc-vpmsum_test.c62 ret = crypto_shash_init(crct10dif_shash); in crc_test_init()
71 ret = crypto_shash_init(crc32c_shash); in crc_test_init()
/linux/fs/smb/server/
H A Dauth.c99 rc = crypto_shash_init(CRYPTO_HMACMD5(ctx)); in ksmbd_gen_sess_key()
146 ret = crypto_shash_init(CRYPTO_HMACMD5(ctx)); in calc_ntlmv2_hash()
250 rc = crypto_shash_init(CRYPTO_HMACMD5(ctx)); in ksmbd_auth_ntlmv2()
595 rc = crypto_shash_init(CRYPTO_HMACSHA256(ctx)); in ksmbd_sign_smb2_pdu()
646 rc = crypto_shash_init(CRYPTO_CMACAES(ctx)); in ksmbd_sign_smb3_pdu()
704 rc = crypto_shash_init(CRYPTO_HMACSHA256(ctx)); in generate_key()
938 rc = crypto_shash_init(CRYPTO_SHA512(ctx)); in ksmbd_gen_preauth_integrity_hash()
978 rc = crypto_shash_init(CRYPTO_SHA256(ctx)); in ksmbd_gen_sd_hash()
/linux/crypto/asymmetric_keys/
H A Dx509_public_key.c69 crypto_shash_init(desc) ?: in x509_get_sig_params()
72 crypto_shash_init(desc) ?: in x509_get_sig_params()
H A Dpkcs7_verify.c103 ret = crypto_shash_init(desc); in pkcs7_digest()
/linux/Documentation/crypto/
H A Dapi-digest.rst35 …_setkey crypto_shash_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash…
/linux/security/integrity/ima/
H A Dima_crypto.c464 rc = crypto_shash_init(shash); in ima_calc_file_hash_tfm()
589 rc = crypto_shash_init(shash); in ima_calc_field_array_hash_tfm()
727 rc = crypto_shash_init(shash); in calc_buffer_shash_tfm()
808 rc = crypto_shash_init(shash); in ima_calc_boot_aggregate_tfm()
/linux/fs/smb/client/
H A Dcifsencrypt.c238 rc = crypto_shash_init(server->secmech.md5); in cifs_calc_signature()
557 rc = crypto_shash_init(ses->server->secmech.hmacmd5); in calc_ntlmv2_hash()
661 rc = crypto_shash_init(ses->server->secmech.hmacmd5); in CalcNTLMv2_response()
785 rc = crypto_shash_init(ses->server->secmech.hmacmd5); in setup_ntlmv2_rsp()
H A Dsmb2transport.c272 rc = crypto_shash_init(shash); in smb2_calc_signature()
339 rc = crypto_shash_init(server->secmech.hmacsha256); in generate_key()
601 rc = crypto_shash_init(shash); in smb3_calc_signature()
/linux/fs/ubifs/
H A Dauth.c104 err = crypto_shash_init(desc); in ubifs_get_desc()
399 err = crypto_shash_init(shash); in ubifs_node_calc_hmac()
/linux/fs/crypto/
H A Dhkdf.c138 err = crypto_shash_init(desc); in fscrypt_hkdf_expand()
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_keys.c315 ret = crypto_shash_init(desc); in krb5_cmac_Ki()
454 ret = crypto_shash_init(desc); in krb5_hmac_K1()
/linux/drivers/target/iscsi/
H A Discsi_target_auth.c371 ret = crypto_shash_init(desc); in chap_server_compute_hash()
512 ret = crypto_shash_init(desc); in chap_server_compute_hash()
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c86 ret = crypto_shash_init(&sdesc->shash); in TSS_rawhmac()
137 ret = crypto_shash_init(&sdesc->shash); in TSS_authhmac()
211 ret = crypto_shash_init(&sdesc->shash); in TSS_checkhmac1()
304 ret = crypto_shash_init(&sdesc->shash); in TSS_checkhmac2()
/linux/fs/verity/
H A Dhash_algs.c143 err = crypto_shash_init(desc); in fsverity_prepare_hash_state()
/linux/lib/
H A Ddigsig.c241 crypto_shash_init(desc); in digsig_verify()
/linux/drivers/nvme/target/
H A Dauth.c331 ret = crypto_shash_init(shash); in nvmet_auth_host_hash()
441 ret = crypto_shash_init(shash); in nvmet_auth_ctrl_hash()
/linux/drivers/crypto/xilinx/
H A Dzynqmp-sha.c87 return crypto_shash_init(&dctx->fbk_req); in zynqmp_sha_init()
/linux/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c189 return crypto_shash_init(desc); in ghash_async_init()

123