Home
last modified time | relevance | path

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

/Linux-v5.10/crypto/
Dcipher.c42 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey() function
56 EXPORT_SYMBOL_GPL(crypto_cipher_setkey);
Dxcbc.c60 if ((err = crypto_cipher_setkey(ctx->child, inkey, keylen))) in crypto_xcbc_digest_setkey()
67 return crypto_cipher_setkey(ctx->child, key1, bs); in crypto_xcbc_digest_setkey()
Dessiv.c88 return crypto_cipher_setkey(tctx->essiv_cipher, salt, in essiv_skcipher_setkey()
121 return crypto_cipher_setkey(tctx->essiv_cipher, salt, in essiv_aead_setkey()
Dcmac.c61 err = crypto_cipher_setkey(ctx->child, inkey, keylen); in crypto_cmac_digest_setkey()
Dansi_cprng.c305 ret = crypto_cipher_setkey(ctx->tfm, prng_key, klen); in reset_prng_context()
Dxts.c63 err = crypto_cipher_setkey(tweak, key + keylen, keylen); in xts_setkey()
Dadiantum.c163 err = crypto_cipher_setkey(tctx->blockcipher, keyp, in adiantum_setkey()
Dvmac.c441 err = crypto_cipher_setkey(tctx->cipher, key, keylen); in vmac_setkey()
Dskcipher.c887 return crypto_cipher_setkey(cipher, key, keylen); in skcipher_setkey_simple()
Dccm.c782 return crypto_cipher_setkey(ctx->child, inkey, keylen); in crypto_cbcmac_digest_setkey()
Ddrbg.c1819 crypto_cipher_setkey(tfm, key, (drbg_keylen(drbg))); in drbg_kcapi_symsetkey()
Dtestmgr.c2653 ret = crypto_cipher_setkey(tfm, template[i].key, in test_cipher()
/Linux-v5.10/Documentation/crypto/
Dapi-skcipher.rst35 …pher crypto_free_cipher crypto_has_cipher crypto_cipher_blocksize crypto_cipher_setkey crypto_ciph…
/Linux-v5.10/drivers/crypto/vmx/
Daes.c75 ret |= crypto_cipher_setkey(ctx->fallback, key, keylen); in p8_aes_setkey()
/Linux-v5.10/arch/arm/crypto/
Daes-neonbs-glue.c307 err = crypto_cipher_setkey(ctx->cts_tfm, in_key, key_len); in aesbs_xts_setkey()
310 err = crypto_cipher_setkey(ctx->tweak_tfm, in_key + key_len, key_len); in aesbs_xts_setkey()
/Linux-v5.10/drivers/crypto/
Dgeode-aes.c132 return crypto_cipher_setkey(tctx->fallback.cip, key, len); in geode_setkey_cip()
/Linux-v5.10/include/linux/
Dcrypto.h878 int crypto_cipher_setkey(struct crypto_cipher *tfm,
/Linux-v5.10/drivers/crypto/inside-secure/
Dsafexcel_hash.c2096 ret = crypto_cipher_setkey(ctx->kaes, key, len); in safexcel_xcbcmac_setkey()
2112 ret = crypto_cipher_setkey(ctx->kaes, in safexcel_xcbcmac_setkey()
2196 ret = crypto_cipher_setkey(ctx->kaes, key, len); in safexcel_cmac_setkey()
Dsafexcel_cipher.c2594 ret = crypto_cipher_setkey(ctx->hkaes, key, len); in safexcel_aead_gcm_setkey()
/Linux-v5.10/arch/s390/crypto/
Daes_s390.c80 return crypto_cipher_setkey(sctx->fallback.cip, in_key, key_len); in setkey_fallback_cip()
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c144 ret = crypto_cipher_setkey(cipher, key, keylen); in chcr_ktls_save_keys()