Home
last modified time | relevance | path

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

12

/linux/fs/crypto/
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()
/linux/fs/ksmbd/
A Dauth.c90 rc = crypto_shash_setkey(CRYPTO_HMACMD5_TFM(ctx), in ksmbd_gen_sess_key()
137 ret = crypto_shash_setkey(CRYPTO_HMACMD5_TFM(ctx), in calc_ntlmv2_hash()
238 rc = crypto_shash_setkey(CRYPTO_HMACMD5_TFM(ctx), in ksmbd_auth_ntlmv2()
547 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in ksmbd_sign_smb2_pdu()
598 rc = crypto_shash_setkey(CRYPTO_CMACAES_TFM(ctx), in ksmbd_sign_smb3_pdu()
655 rc = crypto_shash_setkey(CRYPTO_HMACSHA256_TFM(ctx), in generate_key()
/linux/drivers/net/wireless/intersil/orinoco/
A Dmic.c69 err = crypto_shash_setkey(tfm_michael, key, MIC_KEYLEN); in orinoco_mic()
/linux/Documentation/crypto/
A Dapi-digest.rst35 …ypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shas…
/linux/net/mac80211/
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()
A Daes_cmac.c78 int err = crypto_shash_setkey(tfm, key, key_len); in ieee80211_aes_cmac_key_setup()
/linux/crypto/
A 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()
A Dadiantum.c177 err = crypto_shash_setkey(tctx->hash, keyp, NHPOLY1305_KEY_SIZE); in adiantum_setkey()
A Dcryptd.c460 return crypto_shash_setkey(child, key, keylen); in cryptd_hash_setkey()
/linux/fs/cifs/
A Dcifsencrypt.c420 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5, nt_hash, in calc_ntlmv2_hash()
523 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5, in CalcNTLMv2_response()
649 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5, in setup_ntlmv2_rsp()
A Dsmb2transport.c244 rc = crypto_shash_setkey(hash, ses->auth_key.response, in smb2_calc_signature()
313 rc = crypto_shash_setkey(server->secmech.hmacsha256, in generate_key()
561 rc = crypto_shash_setkey(hash, key, SMB2_CMACAES_SIZE); in smb3_calc_signature()
/linux/net/ipv6/
A Dseg6_hmac.c139 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); in __do_hmac()
/linux/fs/ubifs/
A Dauth.c333 err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); in ubifs_init_authentication()
/linux/security/integrity/evm/
A Devm_crypto.c110 rc = crypto_shash_setkey(tmp_tfm, evmkey, evmkey_len); in init_desc()
/linux/include/crypto/
A Dhash.h849 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key,
/linux/drivers/crypto/bcm/
A Dutil.c236 rc = crypto_shash_setkey(hash, key, key_len); in do_shash()
/linux/net/bluetooth/
A Damp.c143 ret = crypto_shash_setkey(tfm, key, ksize); in hmac_sha256()
/linux/drivers/staging/rtl8192u/ieee80211/
A Dieee80211_crypt_tkip.c454 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/linux/drivers/staging/rtl8192e/
A Drtllib_crypt_tkip.c465 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/linux/drivers/thunderbolt/
A Ddomain.c735 ret = crypto_shash_setkey(tfm, sw->key, TB_SWITCH_KEY_SIZE); in tb_domain_challenge_switch_key()
/linux/net/sctp/
A Dauth.c742 if (crypto_shash_setkey(tfm, &asoc_key->data[0], asoc_key->len)) in sctp_auth_calculate_hmac()
A Dsm_make_chunk.c1722 err = crypto_shash_setkey(tfm, ep->secret_key, in sctp_pack_cookie()
1789 err = crypto_shash_setkey(tfm, ep->secret_key, in sctp_unpack_cookie()
/linux/net/wireless/
A Dlib80211_crypt_tkip.c487 if (crypto_shash_setkey(tfm_michael, key, 8)) in michael_mic()
/linux/security/keys/encrypted-keys/
A Dencrypted.c339 err = crypto_shash_setkey(tfm, key, keylen); in calc_hmac()
/linux/security/keys/trusted-keys/
A Dtrusted_tpm1.c83 ret = crypto_shash_setkey(hmacalg, key, keylen); in TSS_rawhmac()

Completed in 47 milliseconds

12