/linux-6.12.1/fs/crypto/ |
D | hkdf.c | 54 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/ |
D | auth.c | 91 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/ |
D | api-digest.rst | 35 …ypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shas…
|
/linux-6.12.1/net/mac80211/ |
D | aes_cmac.c | 78 int err = crypto_shash_setkey(tfm, key, key_len); in ieee80211_aes_cmac_key_setup()
|
D | fils_aead.c | 91 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/ |
D | kdf_sp800108.c | 92 return crypto_shash_setkey(kmd, key, keylen); in crypto_kdf108_setkey()
|
D | shash.c | 32 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() function 47 EXPORT_SYMBOL_GPL(crypto_shash_setkey);
|
D | hctr2.c | 162 err = crypto_shash_setkey(tctx->polyval, hbar, BLOCKCIPHER_BLOCK_SIZE); in hctr2_setkey()
|
D | adiantum.c | 177 err = crypto_shash_setkey(tctx->hash, keyp, NHPOLY1305_KEY_SIZE); in adiantum_setkey()
|
D | ahash.c | 231 err = crypto_shash_setkey(shash, key, keylen); in crypto_ahash_setkey()
|
/linux-6.12.1/fs/smb/client/ |
D | cifsencrypt.c | 431 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()
|
D | smb2transport.c | 263 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/ |
D | gss_krb5_keys.c | 391 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/ |
D | auth.c | 283 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/ |
D | auth.c | 313 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/ |
D | hash.h | 808 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
|
/linux-6.12.1/security/integrity/evm/ |
D | evm_crypto.c | 110 rc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len); in init_desc()
|
/linux-6.12.1/fs/ubifs/ |
D | auth.c | 332 err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); in ubifs_init_authentication()
|
/linux-6.12.1/net/ipv6/ |
D | seg6_hmac.c | 139 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); in __do_hmac()
|
/linux-6.12.1/drivers/crypto/bcm/ |
D | util.c | 236 rc = crypto_shash_setkey(hash, key, key_len); in do_shash()
|
/linux-6.12.1/drivers/nvme/host/ |
D | auth.c | 441 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/ |
D | domain.c | 732 ret = crypto_shash_setkey(tfm, sw->key, TB_SWITCH_KEY_SIZE); in tb_domain_challenge_switch_key()
|
/linux-6.12.1/net/wireless/ |
D | lib80211_crypt_tkip.c | 487 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
|
/linux-6.12.1/drivers/staging/rtl8192e/ |
D | rtllib_crypt_tkip.c | 447 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
|
/linux-6.12.1/net/sctp/ |
D | auth.c | 742 if (crypto_shash_setkey(tfm, &asoc_key->data[0], asoc_key->len)) in sctp_auth_calculate_hmac()
|