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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
dm-crypt@xxxxxxxx
https://www.saout.de/mailman/listinfo/dm-crypt



[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux