On Mon, Oct 13, 2025 at 04:08:16PM +0200, Daniel Kiper wrote:
> On Tue, Sep 02, 2025 at 03:17:54PM +0800, Gary Lin via Grub-devel wrote:
> > Add the following items to crypto.h
I should add more details.

> > - more GPG error types
libgcrypt/cipher/kdf.c uses several GPG error types not defined in
crypto.h. Here we add those missing types.

> > - _gcry_digest_spec_blake2b_512 for Argon2
To calculate the Blake2b 512 digest, we need the md spec for Blake2b
512, i.e. _gcry_digest_spec_blake2b_512 to be declared in crypto.h.

> > - KDF algorithm IDs for Argon2
Those KDF algorithm IDs will be used in _gcry_kdf_open().

> > - prototypes of '_gcry_kdf_*' functions
Here I introduce the generic _gcry_kdf_* functions although they
currently only support Argon2. In the future, we can tweak
import_gcry.py to add more KDFs if necessary.

Gary Lin

> Why?
> 
> Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to