Home
last modified time | relevance | path

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

12

/linux-5.19.10/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-5.19.10/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()
239 rc = crypto_shash_setkey(CRYPTO_HMACMD5_TFM(ctx), in ksmbd_auth_ntlmv2()
575 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in ksmbd_sign_smb2_pdu()
626 rc = crypto_shash_setkey(CRYPTO_CMACAES_TFM(ctx), in ksmbd_sign_smb3_pdu()
683 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in generate_key()
/linux-5.19.10/drivers/net/wireless/intersil/orinoco/
Dmic.c69 err = crypto_shash_setkey(tfm_michael, key, MIC_KEYLEN); in orinoco_mic()
/linux-5.19.10/Documentation/crypto/
Dapi-digest.rst35 …ypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shas…
/linux-5.19.10/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-5.19.10/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()
Dadiantum.c177 err = crypto_shash_setkey(tctx->hash, keyp, NHPOLY1305_KEY_SIZE); in adiantum_setkey()
Dcryptd.c459 return crypto_shash_setkey(child, key, keylen); in cryptd_hash_setkey()
/linux-5.19.10/fs/cifs/
Dcifsencrypt.c424 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5, nt_hash, in calc_ntlmv2_hash()
527 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5, in CalcNTLMv2_response()
653 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5, in setup_ntlmv2_rsp()
Dsmb2transport.c249 rc = crypto_shash_setkey(hash, ses->auth_key.response, in smb2_calc_signature()
318 rc = crypto_shash_setkey(server->secmech.hmacsha256, in generate_key()
577 rc = crypto_shash_setkey(hash, key, SMB2_CMACAES_SIZE); in smb3_calc_signature()
/linux-5.19.10/net/ipv6/
Dseg6_hmac.c139 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); in __do_hmac()
/linux-5.19.10/security/integrity/evm/
Devm_crypto.c110 rc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len); in init_desc()
/linux-5.19.10/fs/ubifs/
Dauth.c333 err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); in ubifs_init_authentication()
/linux-5.19.10/include/crypto/
Dhash.h849 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
/linux-5.19.10/drivers/crypto/bcm/
Dutil.c236 rc = crypto_shash_setkey(hash, key, key_len); in do_shash()
/linux-5.19.10/net/bluetooth/
Damp.c143 ret = crypto_shash_setkey(tfm, key, ksize); in hmac_sha256()
/linux-5.19.10/net/sctp/
Dauth.c742 if (crypto_shash_setkey(tfm, &asoc_key->data[0], asoc_key->len)) in sctp_auth_calculate_hmac()
/linux-5.19.10/drivers/thunderbolt/
Ddomain.c729 ret = crypto_shash_setkey(tfm, sw->key, TB_SWITCH_KEY_SIZE); in tb_domain_challenge_switch_key()
/linux-5.19.10/net/wireless/
Dlib80211_crypt_tkip.c487 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/linux-5.19.10/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c465 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/linux-5.19.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c454 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/linux-5.19.10/security/keys/encrypted-keys/
Dencrypted.c345 err = crypto_shash_setkey(tfm, key, keylen); in calc_hmac()
/linux-5.19.10/security/keys/trusted-keys/
Dtrusted_tpm1.c83 ret = crypto_shash_setkey(hmacalg, key, keylen); in TSS_rawhmac()

12