Home
last modified time | relevance | path

Searched refs:crypto_blkcipher_setkey (Results 1 – 32 of 32) sorted by relevance

/linux-4.4.14/net/ceph/
Dcrypto.c187 crypto_blkcipher_setkey((void *)tfm, key, key_len); in ceph_aes_encrypt()
248 crypto_blkcipher_setkey((void *)tfm, key, key_len); in ceph_aes_encrypt2()
305 crypto_blkcipher_setkey((void *)tfm, key, key_len); in ceph_aes_decrypt()
371 crypto_blkcipher_setkey((void *)tfm, key, key_len); in ceph_aes_decrypt2()
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c140 crypto_blkcipher_setkey(wep->tx_tfm, key, klen); in prism2_wep_encrypt()
189 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
Dieee80211_crypt_tkip.c366 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); in ieee80211_tkip_encrypt()
452 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in ieee80211_tkip_decrypt()
/linux-4.4.14/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c153 crypto_blkcipher_setkey(wep->tx_tfm, key, klen); in prism2_wep_encrypt()
202 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
Drtllib_crypt_tkip.c360 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); in rtllib_tkip_encrypt()
453 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in rtllib_tkip_decrypt()
/linux-4.4.14/net/wireless/
Dlib80211_crypt_wep.c168 crypto_blkcipher_setkey(wep->tx_tfm, key, klen); in lib80211_wep_encrypt()
208 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in lib80211_wep_decrypt()
Dlib80211_crypt_tkip.c385 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); in lib80211_tkip_encrypt()
468 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in lib80211_tkip_decrypt()
/linux-4.4.14/drivers/crypto/vmx/
Daes_ctr.c89 ret += crypto_blkcipher_setkey(ctx->fallback, key, keylen); in p8_aes_ctr_setkey()
Daes_cbc.c94 ret += crypto_blkcipher_setkey(ctx->fallback, key, keylen); in p8_aes_cbc_setkey()
/linux-4.4.14/drivers/block/
Dcryptoloop.c89 err = crypto_blkcipher_setkey(tfm, info->lo_encrypt_key, in cryptoloop_init()
/linux-4.4.14/arch/x86/crypto/
Dfpu.c37 err = crypto_blkcipher_setkey(child, key, keylen); in crypto_fpu_setkey()
/linux-4.4.14/fs/cifs/
Dsmbencrypt.c88 crypto_blkcipher_setkey(tfm_des, key2, 8); in smbhash()
Dcifsencrypt.c808 rc = crypto_blkcipher_setkey(tfm_arc4, ses->auth_key.response, in calc_seckey()
/linux-4.4.14/drivers/net/ppp/
Dppp_mppe.c168 crypto_blkcipher_setkey(state->arc4, state->sha1_digest, in mppe_rekey()
187 crypto_blkcipher_setkey(state->arc4, state->session_key, state->keylen); in mppe_rekey()
/linux-4.4.14/crypto/
Dskcipher.c44 err = crypto_blkcipher_setkey(blkcipher, key, keylen); in skcipher_setkey_blkcipher()
Dcts.c67 err = crypto_blkcipher_setkey(child, key, keylen); in crypto_cts_setkey()
Dcryptd.c194 err = crypto_blkcipher_setkey(child, key, keylen); in cryptd_blkcipher_setkey()
Dtcrypt.c515 ret = crypto_blkcipher_setkey(tfm, key, *keysize); in test_cipher_speed()
/linux-4.4.14/net/sunrpc/auth_gss/
Dgss_krb5_keys.c164 if (crypto_blkcipher_setkey(cipher, inkey->data, inkey->len)) in krb5_derive_key()
Dgss_krb5_mech.c256 if (crypto_blkcipher_setkey(*res, key.data, key.len)) { in get_key()
358 if (crypto_blkcipher_setkey(cp, key, ctx->gk5e->keylength)) { in context_v2_alloc_cipher()
Dgss_krb5_crypto.c900 err = crypto_blkcipher_setkey(cipher, Kseq, kctx->gk5e->keylength); in krb5_rc4_setup_seq_key()
973 err = crypto_blkcipher_setkey(cipher, Kcrypt, kctx->gk5e->keylength); in krb5_rc4_setup_enc_key()
/linux-4.4.14/drivers/usb/wusbcore/
Dcrypto.c315 result = crypto_blkcipher_setkey(tfm_cbc, key, 16); in wusb_prf()
/linux-4.4.14/fs/ecryptfs/
Dkeystore.c839 rc = crypto_blkcipher_setkey( in ecryptfs_write_tag_70_packet()
1047 rc = crypto_blkcipher_setkey( in ecryptfs_parse_tag_70_packet()
1714 rc = crypto_blkcipher_setkey( in decrypt_passphrase_encrypted_session_key()
2287 rc = crypto_blkcipher_setkey(desc.tfm, session_key_encryption_key, in write_tag_3_packet()
Dcrypto.c1626 rc = crypto_blkcipher_setkey(*key_tfm, dummy_key, *key_size); in ecryptfs_process_key_cipher()
/linux-4.4.14/arch/s390/crypto/
Daes_s390.c243 ret = crypto_blkcipher_setkey(sctx->fallback.blk, key, len); in setkey_fallback_blk()
542 ret = crypto_blkcipher_setkey(xts_ctx->fallback, key, len); in xts_fallback_setkey()
/linux-4.4.14/net/rxrpc/
Drxkad.c80 if (crypto_blkcipher_setkey(ci, token->kad->session_key, in rxkad_init_connection_security()
979 if (crypto_blkcipher_setkey(rxkad_ci, session_key->x, in rxkad_decrypt_response()
Dar-key.c842 if (crypto_blkcipher_setkey(ci, prep->data, 8) < 0) in rxrpc_preparse_s()
/linux-4.4.14/drivers/crypto/
Dgeode-aes.c174 ret = crypto_blkcipher_setkey(op->fallback.blk, key, len); in geode_setkey_blk()
/linux-4.4.14/include/linux/
Dcrypto.h1256 static inline int crypto_blkcipher_setkey(struct crypto_blkcipher *tfm, in crypto_blkcipher_setkey() function
/linux-4.4.14/security/keys/encrypted-keys/
Dencrypted.c418 ret = crypto_blkcipher_setkey(desc->tfm, key, key_len); in init_blkcipher_desc()
/linux-4.4.14/net/mac802154/
Dllsec.c151 if (crypto_blkcipher_setkey(key->tfm0, template->key, in llsec_key_alloc()
/linux-4.4.14/net/bluetooth/
Dsmp.c393 err = crypto_blkcipher_setkey(tfm, tmp, 16); in smp_e()