Home
last modified time | relevance | path

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

12

/linux/drivers/nvme/common/
H A Dauth.c278 ret = crypto_shash_setkey(key_tfm, key->key, key->len); in nvme_auth_transform_key()
363 ret = crypto_shash_setkey(tfm, hashed_key, hlen); in nvme_auth_augmented_challenge()
520 ret = crypto_shash_setkey(tfm, skey, skey_len); in nvme_auth_generate_psk()
638 ret = crypto_shash_setkey(tfm, psk, psk_len); in nvme_auth_generate_digest()
757 ret = crypto_shash_setkey(hmac_tfm, prk, prk_len); in nvme_auth_derive_tls_psk()
/linux/crypto/krb5/
H A Drfc6803_camellia.c43 ret = crypto_shash_setkey(shash, key->data, key->len); in rfc6803_calc_KDF_FEEDBACK_CMAC()
156 ret = crypto_shash_setkey(shash, Kp.data, Kp.len); in rfc6803_calc_PRF()
H A Dkrb5_api.c250 ret = crypto_shash_setkey(ci, Kc->data, Kc->len); in krb5_prepare_checksum()
H A Drfc8009_aes2.c51 ret = crypto_shash_setkey(shash, key->data, key->len); in rfc8009_calc_KDF_HMAC_SHA2()
/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()
605 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in ksmbd_sign_smb2_pdu()
656 rc = crypto_shash_setkey(CRYPTO_CMACAES_TFM(ctx), in ksmbd_sign_smb3_pdu()
714 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in generate_key()
/linux/Documentation/crypto/
H A Dapi-digest.rst35 …ypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shas…
/linux/fs/crypto/
H A Dhkdf.c78 err = crypto_shash_setkey(hmac_tfm, prk, sizeof(prk)); in fscrypt_init_hkdf()
/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()
/linux/crypto/
H A Dkdf_sp800108.c92 return crypto_shash_setkey(kmd, key, keylen); in crypto_kdf108_setkey()
H A Dhkdf.c50 err = crypto_shash_setkey(hmac_tfm, salt, saltlen); in hkdf_extract()
516 err = crypto_shash_setkey(tfm, tv->prk, tv->prk_size); in hkdf_test()
H A Dshash.c50 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() function
65 EXPORT_SYMBOL_GPL(crypto_shash_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()
/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()
/linux/fs/smb/client/
H A Dcifsencrypt.c420 rc = crypto_shash_setkey(hmacmd5->tfm, nt_hash, CIFS_NTHASH_SIZE); in calc_ntlmv2_hash()
504 rc = crypto_shash_setkey(hmacmd5->tfm, ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in CalcNTLMv2_response()
681 rc = crypto_shash_setkey(hmacmd5->tfm, ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in setup_ntlmv2_rsp()
H A Dsmb2transport.c290 rc = crypto_shash_setkey(shash->tfm, key, sizeof(key)); in smb2_calc_signature()
356 rc = crypto_shash_setkey(server->secmech.hmacsha256->tfm, in generate_key()
614 rc = crypto_shash_setkey(shash->tfm, key, SMB2_CMACAES_SIZE); in smb3_calc_signature()
/linux/drivers/nvme/target/
H A Dauth.c331 ret = crypto_shash_setkey(shash_tfm, transformed_key->key, in nvmet_auth_host_hash()
437 ret = crypto_shash_setkey(shash_tfm, transformed_key->key, in nvmet_auth_ctrl_hash()
/linux/net/ipv6/
H A Dseg6_hmac.c146 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); in __do_hmac()
/linux/security/integrity/evm/
H A Devm_crypto.c110 rc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len); in init_desc()
/linux/fs/ubifs/
H A Dauth.c332 err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); in ubifs_init_authentication()
/linux/drivers/crypto/bcm/
H A Dutil.c236 rc = crypto_shash_setkey(hash, key, key_len); in do_shash()
/linux/include/crypto/
H A Dhash.h876 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
/linux/drivers/nvme/host/
H A Dauth.c453 ret = crypto_shash_setkey(chap->shash_tfm, in nvme_auth_dhchap_setup_host_response()
531 ret = crypto_shash_setkey(chap->shash_tfm, in nvme_auth_dhchap_setup_ctrl_response()
/linux/drivers/thunderbolt/
H A Ddomain.c732 ret = crypto_shash_setkey(tfm, sw->key, TB_SWITCH_KEY_SIZE); in tb_domain_challenge_switch_key()

12