Home
last modified time | relevance | path

Searched refs:crypto_skcipher_setkey (Results 1 – 25 of 58) sorted by relevance

123

/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c141 crypto_skcipher_setkey(wep->tx_tfm, key, klen); in prism2_wep_encrypt()
198 crypto_skcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
Dieee80211_crypt_tkip.c351 crypto_skcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); in ieee80211_tkip_encrypt()
443 crypto_skcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in ieee80211_tkip_decrypt()
/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c149 crypto_skcipher_setkey(wep->tx_tfm, key, klen); in prism2_wep_encrypt()
205 crypto_skcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
Drtllib_crypt_tkip.c352 crypto_skcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); in rtllib_tkip_encrypt()
450 crypto_skcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in rtllib_tkip_decrypt()
/Linux-v4.19/net/wireless/
Dlib80211_crypt_wep.c165 crypto_skcipher_setkey(wep->tx_tfm, key, klen); in lib80211_wep_encrypt()
211 crypto_skcipher_setkey(wep->rx_tfm, key, klen); in lib80211_wep_decrypt()
Dlib80211_crypt_tkip.c377 crypto_skcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); in lib80211_tkip_encrypt()
466 crypto_skcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in lib80211_tkip_decrypt()
/Linux-v4.19/net/mac80211/
Dfils_aead.c125 res = crypto_skcipher_setkey(tfm2, key + key_len, key_len); in aes_siv_encrypt()
182 res = crypto_skcipher_setkey(tfm2, key + key_len, key_len); in aes_siv_decrypt()
/Linux-v4.19/fs/crypto/
Dkeyinfo.c53 res = crypto_skcipher_setkey(tfm, ctx->nonce, sizeof(ctx->nonce)); in derive_key_aes()
379 res = crypto_skcipher_setkey(ctfm, raw_key, mode->keysize); in fscrypt_get_encryption_info()
/Linux-v4.19/Documentation/crypto/
Dapi-skcipher.rst17 …to_has_skcipher crypto_skcipher_ivsize crypto_skcipher_blocksize crypto_skcipher_setkey crypto_skc…
Dapi-samples.rst65 if (crypto_skcipher_setkey(skcipher, key, 32)) {
/Linux-v4.19/drivers/block/
Dcryptoloop.c87 err = crypto_skcipher_setkey(tfm, info->lo_encrypt_key, in cryptoloop_init()
/Linux-v4.19/drivers/crypto/vmx/
Daes_ctr.c86 ret += crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_ctr_setkey()
Daes_xts.c95 ret += crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_xts_setkey()
Daes_cbc.c89 ret += crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_cbc_setkey()
/Linux-v4.19/arch/x86/crypto/
Dfpu.c36 err = crypto_skcipher_setkey(child, key, keylen); in crypto_fpu_setkey()
/Linux-v4.19/drivers/net/ppp/
Dppp_mppe.c165 crypto_skcipher_setkey(state->arc4, state->sha1_digest, in mppe_rekey()
184 crypto_skcipher_setkey(state->arc4, state->session_key, state->keylen); in mppe_rekey()
/Linux-v4.19/crypto/
Dsimd.c53 err = crypto_skcipher_setkey(child, key, key_len); in simd_skcipher_setkey()
Dalgif_skcipher.c320 return crypto_skcipher_setkey(private, key, keylen); in skcipher_setkey()
/Linux-v4.19/net/sunrpc/auth_gss/
Dgss_krb5_keys.c164 if (crypto_skcipher_setkey(cipher, inkey->data, inkey->len)) in krb5_derive_key()
Dgss_krb5_mech.c257 if (crypto_skcipher_setkey(*res, key.data, key.len)) { in get_key()
359 if (crypto_skcipher_setkey(cp, key, ctx->gk5e->keylength)) { in context_v2_alloc_cipher()
/Linux-v4.19/include/crypto/
Dskcipher.h398 static inline int crypto_skcipher_setkey(struct crypto_skcipher *tfm, in crypto_skcipher_setkey() function
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes-xts.c105 return crypto_skcipher_setkey(ctx->u.aes.tfm_skcipher, key, key_len); in ccp_aes_xts_setkey()
/Linux-v4.19/drivers/usb/wusbcore/
Dcrypto.c313 result = crypto_skcipher_setkey(tfm_cbc, key, 16); in wusb_prf()
/Linux-v4.19/net/ceph/
Dcrypto.c59 ret = crypto_skcipher_setkey(key->tfm, key->key, key->len); in set_secret()
/Linux-v4.19/fs/ecryptfs/
Dkeystore.c828 rc = crypto_skcipher_setkey( in ecryptfs_write_tag_70_packet()
1044 rc = crypto_skcipher_setkey( in ecryptfs_parse_tag_70_packet()
1720 rc = crypto_skcipher_setkey( in decrypt_passphrase_encrypted_session_key()
2293 rc = crypto_skcipher_setkey(tfm, session_key_encryption_key, in write_tag_3_packet()

123