Searched refs:crypto_hash_setkey (Results 1 - 14 of 14) sorted by relevance

/linux-4.1.27/drivers/net/wireless/orinoco/
H A Dmic.c72 if (crypto_hash_setkey(tfm_michael, key, MIC_KEYLEN)) orinoco_mic()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-crypto.c69 * shash: crypto_hash_setkey, crypto_hash_init cfs_crypto_hash_alloc()
75 err = crypto_hash_setkey(desc->tfm, key, key_len); cfs_crypto_hash_alloc()
77 err = crypto_hash_setkey(desc->tfm, cfs_crypto_hash_alloc()
/linux-4.1.27/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c217 err = crypto_hash_setkey(hmac_md5, cksumkey, kctx->gk5e->keylength); make_checksum_hmac_md5()
270 err = crypto_hash_setkey(desc.tfm, cksumkey, make_checksum()
350 err = crypto_hash_setkey(desc.tfm, cksumkey, kctx->gk5e->keylength); make_checksum_v2()
880 err = crypto_hash_setkey(hmac, kctx->Ksess, kctx->gk5e->keylength); krb5_rc4_setup_seq_key()
892 err = crypto_hash_setkey(hmac, Kseq, kctx->gk5e->keylength); krb5_rc4_setup_seq_key()
950 err = crypto_hash_setkey(hmac, Kcrypt, kctx->gk5e->keylength); krb5_rc4_setup_enc_key()
962 err = crypto_hash_setkey(hmac, Kcrypt, kctx->gk5e->keylength); krb5_rc4_setup_enc_key()
H A Dgss_krb5_mech.c449 err = crypto_hash_setkey(hmac, ctx->Ksess, ctx->gk5e->keylength); context_derive_keys_rc4()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dcapa.c251 rv = crypto_hash_setkey(desc.tfm, key, *keylen); ll_crypto_hmac()
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c519 if (crypto_hash_setkey(tfm_michael, key, 8)) michael_mic()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_tkip.c516 if (crypto_hash_setkey(tfm_michael, key, 8)) michael_mic()
/linux-4.1.27/net/wireless/
H A Dlib80211_crypt_tkip.c522 if (crypto_hash_setkey(tfm_michael, key, 8)) michael_mic()
/linux-4.1.27/net/sctp/
H A Dauth.c751 if (crypto_hash_setkey(desc.tfm, &asoc_key->data[0], asoc_key->len)) sctp_auth_calculate_hmac()
H A Dsm_make_chunk.c1673 if (crypto_hash_setkey(desc.tfm, ep->secret_key, sctp_pack_cookie()
1741 if (crypto_hash_setkey(desc.tfm, ep->secret_key, sctp_unpack_cookie()
/linux-4.1.27/include/linux/
H A Dcrypto.h2318 * crypto_hash_setkey() - set key for message digest
2328 static inline int crypto_hash_setkey(struct crypto_hash *hash, crypto_hash_setkey() function
/linux-4.1.27/crypto/
H A Dtcrypt.c728 crypto_hash_setkey(tfm, tvmem[0], speed[i].klen); test_hash_speed()
/linux-4.1.27/net/bluetooth/
H A Dsmp.c190 err = crypto_hash_setkey(tfm, tmp, 16); aes_cmac()
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_receiver.c4920 rv = crypto_hash_setkey(connection->cram_hmac_tfm, (u8 *)secret, key_len); drbd_do_auth()
4922 drbd_err(connection, "crypto_hash_setkey() failed with %d\n", rv); drbd_do_auth()

Completed in 283 milliseconds