Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/crypto/
H A 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()
/openbmc/linux/drivers/net/wireless/intersil/orinoco/
H A Dmic.c69 err = crypto_shash_setkey(tfm_michael, key, MIC_KEYLEN); in orinoco_mic()
/openbmc/linux/Documentation/crypto/
H A Dapi-digest.rst35 …ypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shas…
/openbmc/linux/net/mac80211/
H A Daes_cmac.c78 int err = crypto_shash_setkey(tfm, key, key_len); in ieee80211_aes_cmac_key_setup()
H A 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()
/openbmc/linux/fs/smb/server/
H A 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()
589 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in ksmbd_sign_smb2_pdu()
640 rc = crypto_shash_setkey(CRYPTO_CMACAES_TFM(ctx), in ksmbd_sign_smb3_pdu()
698 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in generate_key()
/openbmc/linux/crypto/
H A Dkdf_sp800108.c92 return crypto_shash_setkey(kmd, key, keylen); in crypto_kdf108_setkey()
H A Dshash.c68 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() function
88 EXPORT_SYMBOL_GPL(crypto_shash_setkey);
286 return crypto_shash_setkey(*ctx, key, keylen); in shash_async_setkey()
H A Dhctr2.c162 err = crypto_shash_setkey(tctx->polyval, hbar, BLOCKCIPHER_BLOCK_SIZE); in hctr2_setkey()
H A Dadiantum.c177 err = crypto_shash_setkey(tctx->hash, keyp, NHPOLY1305_KEY_SIZE); in adiantum_setkey()
/openbmc/linux/drivers/nvme/common/
H A 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()
/openbmc/linux/net/sunrpc/auth_gss/
H A 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()
/openbmc/linux/fs/smb/client/
H A Dcifsencrypt.c550 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5->tfm, nt_hash, in calc_ntlmv2_hash()
653 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5->tfm, in CalcNTLMv2_response()
777 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5->tfm, in setup_ntlmv2_rsp()
H A 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()
/openbmc/linux/drivers/nvme/target/
H A 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()
/openbmc/linux/fs/ubifs/
H A Dauth.c333 err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); in ubifs_init_authentication()
/openbmc/linux/security/integrity/evm/
H A Devm_crypto.c110 rc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len); in init_desc()
/openbmc/linux/net/ipv6/
H A Dseg6_hmac.c139 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); in __do_hmac()
/openbmc/linux/drivers/crypto/bcm/
H A Dutil.c236 rc = crypto_shash_setkey(hash, key, key_len); in do_shash()
/openbmc/linux/include/crypto/
H A Dhash.h903 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
/openbmc/linux/drivers/nvme/host/
H A Dauth.c444 ret = crypto_shash_setkey(chap->shash_tfm, in nvme_auth_dhchap_setup_host_response()
522 ret = crypto_shash_setkey(chap->shash_tfm, in nvme_auth_dhchap_setup_ctrl_response()
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_tkip.c454 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/openbmc/linux/net/wireless/
H A Dlib80211_crypt_tkip.c487 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c447 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/openbmc/linux/drivers/thunderbolt/
H A Ddomain.c728 ret = crypto_shash_setkey(tfm, sw->key, TB_SWITCH_KEY_SIZE); in tb_domain_challenge_switch_key()

12