Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/fs/smb/server/
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()
242 rc = crypto_shash_setkey(CRYPTO_HMACMD5_TFM(ctx), in ksmbd_auth_ntlmv2()
593 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in ksmbd_sign_smb2_pdu()
644 rc = crypto_shash_setkey(CRYPTO_CMACAES_TFM(ctx), in ksmbd_sign_smb3_pdu()
702 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in generate_key()
/linux-6.12.1/Documentation/crypto/
Dapi-digest.rst35 …ypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shas…
/linux-6.12.1/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.12.1/crypto/
Dkdf_sp800108.c92 return crypto_shash_setkey(kmd, key, keylen); in crypto_kdf108_setkey()
Dshash.c32 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() function
47 EXPORT_SYMBOL_GPL(crypto_shash_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()
Dahash.c231 err = crypto_shash_setkey(shash, key, keylen); in crypto_ahash_setkey()
/linux-6.12.1/fs/smb/client/
Dcifsencrypt.c431 rc = crypto_shash_setkey(hmacmd5->tfm, nt_hash, CIFS_NTHASH_SIZE); in calc_ntlmv2_hash()
515 rc = crypto_shash_setkey(hmacmd5->tfm, ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in CalcNTLMv2_response()
636 rc = crypto_shash_setkey(hmacmd5->tfm, ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in setup_ntlmv2_rsp()
Dsmb2transport.c263 rc = crypto_shash_setkey(shash->tfm, ses->auth_key.response, in smb2_calc_signature()
332 rc = crypto_shash_setkey(server->secmech.hmacsha256->tfm, in generate_key()
590 rc = crypto_shash_setkey(shash->tfm, key, SMB2_CMACAES_SIZE); in smb3_calc_signature()
/linux-6.12.1/net/sunrpc/auth_gss/
Dgss_krb5_keys.c391 ret = crypto_shash_setkey(tfm, inkey->data, inkey->len); in krb5_kdf_feedback_cmac()
523 ret = crypto_shash_setkey(tfm, inkey->data, inkey->len); in krb5_kdf_hmac_sha2()
/linux-6.12.1/drivers/nvme/common/
Dauth.c283 ret = crypto_shash_setkey(key_tfm, key->key, key->len); in nvme_auth_transform_key()
371 ret = crypto_shash_setkey(tfm, hashed_key, hlen); in nvme_auth_augmented_challenge()
/linux-6.12.1/drivers/nvme/target/
Dauth.c313 ret = crypto_shash_setkey(shash_tfm, transformed_key->key, in nvmet_auth_host_hash()
427 ret = crypto_shash_setkey(shash_tfm, transformed_key->key, in nvmet_auth_ctrl_hash()
/linux-6.12.1/include/crypto/
Dhash.h808 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
/linux-6.12.1/security/integrity/evm/
Devm_crypto.c110 rc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len); in init_desc()
/linux-6.12.1/fs/ubifs/
Dauth.c332 err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); in ubifs_init_authentication()
/linux-6.12.1/net/ipv6/
Dseg6_hmac.c139 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); in __do_hmac()
/linux-6.12.1/drivers/crypto/bcm/
Dutil.c236 rc = crypto_shash_setkey(hash, key, key_len); in do_shash()
/linux-6.12.1/drivers/nvme/host/
Dauth.c441 ret = crypto_shash_setkey(chap->shash_tfm, in nvme_auth_dhchap_setup_host_response()
519 ret = crypto_shash_setkey(chap->shash_tfm, in nvme_auth_dhchap_setup_ctrl_response()
/linux-6.12.1/drivers/thunderbolt/
Ddomain.c732 ret = crypto_shash_setkey(tfm, sw->key, TB_SWITCH_KEY_SIZE); in tb_domain_challenge_switch_key()
/linux-6.12.1/net/wireless/
Dlib80211_crypt_tkip.c487 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/linux-6.12.1/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c447 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/linux-6.12.1/net/sctp/
Dauth.c742 if (crypto_shash_setkey(tfm, &asoc_key->data[0], asoc_key->len)) in sctp_auth_calculate_hmac()

12