Home
last modified time | relevance | path

Searched refs:crypto_shash_setkey (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/fs/crypto/
Dhkdf.c54 err = crypto_shash_setkey(hmac_tfm, default_salt, HKDF_HASHLEN); in hkdf_extract()
91 err = crypto_shash_setkey(hmac_tfm, prk, sizeof(prk)); in fscrypt_init_hkdf()
/linux-6.1.9/fs/ksmbd/
Dauth.c91 rc = crypto_shash_setkey(CRYPTO_HMACMD5_TFM(ctx), in ksmbd_gen_sess_key()
138 ret = crypto_shash_setkey(CRYPTO_HMACMD5_TFM(ctx), in calc_ntlmv2_hash()
240 rc = crypto_shash_setkey(CRYPTO_HMACMD5_TFM(ctx), in ksmbd_auth_ntlmv2()
581 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in ksmbd_sign_smb2_pdu()
632 rc = crypto_shash_setkey(CRYPTO_CMACAES_TFM(ctx), in ksmbd_sign_smb3_pdu()
690 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in generate_key()
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/
Dmic.c69 err = crypto_shash_setkey(tfm_michael, key, MIC_KEYLEN); in orinoco_mic()
/linux-6.1.9/Documentation/crypto/
Dapi-digest.rst35 …ypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shas…
/linux-6.1.9/net/mac80211/
Daes_cmac.c78 int err = crypto_shash_setkey(tfm, key, key_len); in ieee80211_aes_cmac_key_setup()
Dfils_aead.c91 res = crypto_shash_setkey(tfm, key, key_len); in aes_siv_encrypt()
206 res = crypto_shash_setkey(tfm, key, key_len); in aes_siv_decrypt()
/linux-6.1.9/crypto/
Dkdf_sp800108.c92 return crypto_shash_setkey(kmd, key, keylen); in crypto_kdf108_setkey()
Dshash.c69 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() function
89 EXPORT_SYMBOL_GPL(crypto_shash_setkey);
254 return crypto_shash_setkey(*ctx, key, keylen); in shash_async_setkey()
Dhctr2.c162 err = crypto_shash_setkey(tctx->polyval, hbar, BLOCKCIPHER_BLOCK_SIZE); in hctr2_setkey()
Dadiantum.c177 err = crypto_shash_setkey(tctx->hash, keyp, NHPOLY1305_KEY_SIZE); in adiantum_setkey()
/linux-6.1.9/fs/cifs/
Dcifsencrypt.c422 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5->tfm, nt_hash, in calc_ntlmv2_hash()
525 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5->tfm, in CalcNTLMv2_response()
649 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5->tfm, in setup_ntlmv2_rsp()
Dsmb2transport.c246 rc = crypto_shash_setkey(shash->tfm, ses->auth_key.response, in smb2_calc_signature()
315 rc = crypto_shash_setkey(server->secmech.hmacsha256->tfm, in generate_key()
564 rc = crypto_shash_setkey(shash->tfm, key, SMB2_CMACAES_SIZE); in smb3_calc_signature()
/linux-6.1.9/drivers/nvme/common/
Dauth.c273 ret = crypto_shash_setkey(key_tfm, key->key, key->len); in nvme_auth_transform_key()
370 ret = crypto_shash_setkey(tfm, hashed_key, hlen); in nvme_auth_augmented_challenge()
/linux-6.1.9/drivers/nvme/target/
Dauth.c300 ret = crypto_shash_setkey(shash_tfm, host_response, in nvmet_auth_host_hash()
412 ret = crypto_shash_setkey(shash_tfm, ctrl_response, in nvmet_auth_ctrl_hash()
/linux-6.1.9/net/ipv6/
Dseg6_hmac.c139 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); in __do_hmac()
/linux-6.1.9/fs/ubifs/
Dauth.c333 err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); in ubifs_init_authentication()
/linux-6.1.9/security/integrity/evm/
Devm_crypto.c110 rc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len); in init_desc()
/linux-6.1.9/include/crypto/
Dhash.h851 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
/linux-6.1.9/drivers/crypto/bcm/
Dutil.c236 rc = crypto_shash_setkey(hash, key, key_len); in do_shash()
/linux-6.1.9/drivers/nvme/host/
Dauth.c447 ret = crypto_shash_setkey(chap->shash_tfm, in nvme_auth_dhchap_setup_host_response()
524 ret = crypto_shash_setkey(chap->shash_tfm, in nvme_auth_dhchap_setup_ctrl_response()
/linux-6.1.9/net/bluetooth/
Damp.c143 ret = crypto_shash_setkey(tfm, key, ksize); in hmac_sha256()
/linux-6.1.9/net/wireless/
Dlib80211_crypt_tkip.c487 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/linux-6.1.9/drivers/thunderbolt/
Ddomain.c727 ret = crypto_shash_setkey(tfm, sw->key, TB_SWITCH_KEY_SIZE); in tb_domain_challenge_switch_key()
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c465 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c454 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()

12