Home
last modified time | relevance | path

Searched refs:crypto_cipher_setkey (Results 1 – 28 of 28) sorted by relevance

/linux-4.1.27/crypto/
Dxcbc.c71 if ((err = crypto_cipher_setkey(ctx->child, inkey, keylen))) in crypto_xcbc_digest_setkey()
78 return crypto_cipher_setkey(ctx->child, key1, bs); in crypto_xcbc_digest_setkey()
Dxts.c57 err = crypto_cipher_setkey(child, key + keylen/2, keylen/2); in setkey()
70 err = crypto_cipher_setkey(child, key, keylen/2); in setkey()
Decb.c35 err = crypto_cipher_setkey(child, key, keylen); in crypto_ecb_setkey()
Dcmac.c65 err = crypto_cipher_setkey(ctx->child, inkey, keylen); in crypto_cmac_digest_setkey()
Dansi_cprng.c313 ret = crypto_cipher_setkey(ctx->tfm, prng_key, klen); in reset_prng_context()
Dcbc.c36 err = crypto_cipher_setkey(child, key, keylen); in crypto_cbc_setkey()
Dpcbc.c39 err = crypto_cipher_setkey(child, key, keylen); in crypto_pcbc_setkey()
Dlrw.c90 err = crypto_cipher_setkey(child, key, keylen - bsize); in setkey()
Dctr.c48 err = crypto_cipher_setkey(child, key, keylen); in crypto_ctr_setkey()
Dccm.c96 err = crypto_cipher_setkey(tfm, key, keylen); in crypto_ccm_setkey()
Dvmac.c493 err = crypto_cipher_setkey(ctx->child, user_key, VMAC_KEY_LEN); in vmac_set_key()
Ddrbg.c1662 crypto_cipher_setkey(tfm, key, (drbg_keylen(drbg))); in drbg_kcapi_sym()
Dtestmgr.c868 ret = crypto_cipher_setkey(tfm, template[i].key, in test_cipher()
/linux-4.1.27/drivers/crypto/vmx/
Daes.c88 ret += crypto_cipher_setkey(ctx->fallback, key, keylen); in p8_aes_setkey()
/linux-4.1.27/net/mac80211/
Dwep.c146 crypto_cipher_setkey(tfm, rc4key, klen); in ieee80211_wep_encrypt_data()
204 crypto_cipher_setkey(tfm, rc4key, klen); in ieee80211_wep_decrypt_data()
Daes_cmac.c138 crypto_cipher_setkey(tfm, key, key_len); in ieee80211_aes_cmac_key_setup()
/linux-4.1.27/net/ipv4/
Dtcp_fastopen.c55 err = crypto_cipher_setkey(ctx->tfm, key, len); in tcp_fastopen_reset_cipher()
/linux-4.1.27/drivers/usb/wusbcore/
Dcrypto.c327 result = crypto_cipher_setkey(tfm_aes, key, 16); in wusb_prf()
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
Drtl_crypto.h307 static inline int crypto_cipher_setkey(struct crypto_tfm *tfm, in crypto_cipher_setkey() function
/linux-4.1.27/drivers/staging/rtl8192e/
Drtllib_crypt_ccmp.c379 crypto_cipher_setkey((void *)data->tfm, data->key, CCMP_TK_LEN); in rtllib_ccmp_set_key()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_ccmp.c395 crypto_cipher_setkey((void *)data->tfm, data->key, CCMP_TK_LEN); in ieee80211_ccmp_set_key()
/linux-4.1.27/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c272 ret = crypto_cipher_setkey(ctx->u.aes.tfm_cipher, key, key_len); in ccp_aes_cmac_setkey()
/linux-4.1.27/net/wireless/
Dlib80211_crypt_ccmp.c401 crypto_cipher_setkey(data->tfm, data->key, CCMP_TK_LEN); in lib80211_ccmp_set_key()
/linux-4.1.27/drivers/md/
Ddm-crypt.c280 err = crypto_cipher_setkey(essiv_tfm, essiv->salt, in crypt_iv_essiv_init()
299 r = crypto_cipher_setkey(essiv_tfm, essiv->salt, salt_size); in crypt_iv_essiv_wipe()
329 err = crypto_cipher_setkey(essiv_tfm, salt, saltsize); in setup_essiv_cpu()
/linux-4.1.27/drivers/crypto/
Dgeode-aes.c141 ret = crypto_cipher_setkey(op->fallback.cip, key, len); in geode_setkey_cip()
/linux-4.1.27/arch/s390/crypto/
Daes_s390.c104 ret = crypto_cipher_setkey(sctx->fallback.cip, in_key, key_len); in setkey_fallback_cip()
/linux-4.1.27/include/linux/
Dcrypto.h2068 static inline int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey() function
/linux-4.1.27/drivers/net/wireless/
Dairo.c1641 crypto_cipher_setkey(tfm, pkey, 16); in emmh32_setseed()