Re: [dm-crypt] cryptsetup with kernel crypto backend and sha384

Milan Broz <[email protected]>
Newsgroups de.saout.dm-crypt
Message-ID <[email protected]>
On 27/12/2018 11:38, Simon Weissberg wrote:
> I noticed that the struct hash_algs in crypto_kernel.c does not
> contain an entry for the sha384 algorithm.
> (https://gitlab.com/cryptsetup/cryptsetup/blob/v2.0.6/lib/crypto_backend/crypto_kernel.c#L50)
>
>  This prevents sha384 from being used with the kernel crypto backend
> while it is usable with the gcrypt backend. Is there a particular
> reason for this?

It is just workaround for the crypto backend (there was not a reliable way to get some
information from kernel without crypto module already loaded), I will either add some more
dynamic option or add the sha384 to the list (despite I am not sure why you want to use it :).

Please could you just create a new issue for it to not forget about it?
https://gitlab.com/cryptsetup/cryptsetup/issues

Thanks,
Milan
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.