Re: Command failed with code -1 (wrong or missing parameters)

Fourhundred Thecat <[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <[email protected]>
On 19/10/2019 20.26, Milan Broz wrote:
>
> Strange, if you run "cryptsetup benchmark", does it calculate speed
> of the block ciphers section? (The same kernel user API is used here.)
>
> cryptsetup benchmark -c aes-xts-plain64 -s 512

initially, the benchmark failed with following error:

  Required kernel crypto interface not available.
  Ensure you have algif_skcipher kernel module loaded.

I have recompiled my kernel with added options:

  CONFIG_CRYPTO_USER_API=y
  CONFIG_CRYPTO_USER_API_HASH=y
  CONFIG_CRYPTO_USER_API_SKCIPHER=y
  CONFIG_CRYPTO_USER_API_RNG=y
  CONFIG_CRYPTO_USER_API_AEAD=y

and now everything works.

thank you for the help.
_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.