Home
last modified time | relevance | path

Searched refs:crypto_aead_setkey (Results 1 – 19 of 19) sorted by relevance

/linux/include/crypto/
H A Daead.h381 int crypto_aead_setkey(struct crypto_aead *tfm,
387 return crypto_aead_setkey(&tfm->base, key, keylen); in crypto_sync_aead_setkey()
/linux/crypto/
H A Daead.c44 int crypto_aead_setkey(struct crypto_aead *tfm, in crypto_aead_setkey() function
63 EXPORT_SYMBOL_GPL(crypto_aead_setkey);
H A Dsimd.c277 return crypto_aead_setkey(child, key, key_len); in simd_aead_setkey()
H A Dessiv.c105 err = crypto_aead_setkey(tctx->u.aead, key, keylen); in essiv_aead_setkey()
H A Dtcrypt.c362 ret = crypto_aead_setkey(tfm, key, *keysize); in test_mb_aead_speed()
618 ret = crypto_aead_setkey(tfm, key, *keysize); in test_aead_speed()
H A Dtestmgr.c2059 err = do_setkey(crypto_aead_setkey, tfm, vec->key, vec->klen, in test_aead_vec_cfg()
2394 vec->setkey_error = crypto_aead_setkey(tfm, vec->key, vec->klen); in generate_random_aead_testvec()
/linux/net/mac80211/
H A Daes_gmac.c81 err = crypto_aead_setkey(tfm, key, key_len); in ieee80211_aes_gmac_key_setup()
H A Daead_api.c96 err = crypto_aead_setkey(tfm, key, key_len); in aead_key_setup_encrypt()
/linux/security/keys/trusted-keys/
H A Dtrusted_dcp.c171 if (crypto_aead_setkey(aead, key, AES_KEYSIZE_128)) { in do_aead_crypto()
/linux/fs/smb/server/
H A Dauth.c884 rc = crypto_aead_setkey(tfm, key, SMB3_GCM256_CRYPTKEY_SIZE); in ksmbd_crypt_message()
886 rc = crypto_aead_setkey(tfm, key, SMB3_GCM128_CRYPTKEY_SIZE); in ksmbd_crypt_message()
/linux/net/tls/
H A Dtls_device_fallback.c459 rc = crypto_aead_setkey(offload_ctx->aead_send, in tls_sw_fallback_init()
H A Dtls_sw.c2853 rc = crypto_aead_setkey(*aead, key, cipher_desc->key); in tls_set_sw_offload()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c2848 ret = crypto_aead_setkey(ctx->fback, (u8 *)key, in safexcel_aead_chachapoly_crypt()
2852 ret = crypto_aead_setkey(ctx->fback, (u8 *)key, in safexcel_aead_chachapoly_crypt()
3233 return crypto_aead_setkey(ctx->fback, (u8 *)key, len) ?: in safexcel_aead_fallback_setkey()
/linux/net/mac802154/
H A Dllsec.c134 if (crypto_aead_setkey(key->tfm[i], template->key, in llsec_key_alloc()
/linux/drivers/md/
H A Ddm-crypt.c2442 r = crypto_aead_setkey(cc->cipher_tfm.tfms_aead[i], in crypt_setkey()
2445 r = crypto_aead_setkey(cc->cipher_tfm.tfms_aead[i], in crypt_setkey()
/linux/net/tipc/
H A Dcrypto.c557 err |= crypto_aead_setkey(tfm, ukey->key, keylen); in tipc_aead_init()
/linux/fs/smb/client/
H A Dsmb2ops.c4452 rc = crypto_aead_setkey(tfm, key, SMB3_GCM256_CRYPTKEY_SIZE); in crypt_message()
4454 rc = crypto_aead_setkey(tfm, key, SMB3_GCM128_CRYPTKEY_SIZE); in crypt_message()
/linux/net/ceph/
H A Dmessenger_v2.c751 ret = crypto_aead_setkey(con->v2.gcm_tfm, con_secret, CEPH_GCM_KEY_LEN); in setup_crypto()
/linux/drivers/net/
H A Dmacsec.c1378 ret = crypto_aead_setkey(tfm, key, key_len); in macsec_alloc_tfm()