Home
last modified time | relevance | path

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

/Linux-v5.4/crypto/
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.c93 err = crypto_cipher_setkey(tctx->essiv_cipher, salt, in essiv_skcipher_setkey()
135 err = 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 setkey()
Dadiantum.c167 err = crypto_cipher_setkey(tctx->blockcipher, keyp, in adiantum_setkey()
Dvmac.c443 err = crypto_cipher_setkey(tctx->cipher, key, keylen); in vmac_setkey()
Dccm.c837 return crypto_cipher_setkey(ctx->child, inkey, keylen); in crypto_cbcmac_digest_setkey()
Dskcipher.c1117 err = crypto_cipher_setkey(cipher, key, keylen); in skcipher_setkey_simple()
Ddrbg.c1803 crypto_cipher_setkey(tfm, key, (drbg_keylen(drbg))); in drbg_kcapi_symsetkey()
Dtestmgr.c2389 ret = crypto_cipher_setkey(tfm, template[i].key, in test_cipher()
/Linux-v5.4/drivers/crypto/vmx/
Daes.c75 ret |= crypto_cipher_setkey(ctx->fallback, key, keylen); in p8_aes_setkey()
/Linux-v5.4/Documentation/crypto/
Dapi-skcipher.rst35 …pher crypto_free_cipher crypto_has_cipher crypto_cipher_blocksize crypto_cipher_setkey crypto_ciph…
/Linux-v5.4/arch/arm/crypto/
Daes-neonbs-glue.c142 return crypto_cipher_setkey(ctx->enc_tfm, in_key, key_len); in aesbs_cbc_setkey()
296 err = crypto_cipher_setkey(ctx->cts_tfm, in_key, key_len); in aesbs_xts_setkey()
299 err = crypto_cipher_setkey(ctx->tweak_tfm, in_key + key_len, key_len); in aesbs_xts_setkey()
/Linux-v5.4/fs/crypto/
Dkeysetup.c174 err = crypto_cipher_setkey(essiv_tfm, salt, sizeof(salt)); in init_essiv_generator()
/Linux-v5.4/drivers/crypto/
Dgeode-aes.c139 ret = crypto_cipher_setkey(op->fallback.cip, key, len); in geode_setkey_cip()
/Linux-v5.4/include/linux/
Dcrypto.h1744 static inline int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey() function
/Linux-v5.4/arch/s390/crypto/
Daes_s390.c81 ret = crypto_cipher_setkey(sctx->fallback.cip, in_key, key_len); in setkey_fallback_cip()
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_cipher.c2101 ret = crypto_cipher_setkey(ctx->hkaes, key, len); in safexcel_aead_gcm_setkey()