This patch series imports the Argon2 code and tests from libgcrypt and
adds Argon2 support to LUKS2.

Patch 1 and 2 introduces grub_crypto_argon2().
Patch 3 and 4 integrates the Argon2 tests from libgcrypt into
functional_test.
Patch 5 leverages grub_crypto_argon2() to add Argon2 support to LUKS2.
Patch 6 changes the default KDF of the LUKS2 test to Argon2id.
Patch 7 documents argon2 and argon2_test modules.

Gary Lin (7):
  argon2: Extract Argon2 code from libgcrypt
  argon2: Introduce grub_crypto_argon2()
  Import Argon2 tests from libgcrypt
  Integrate Argon2 tests into functional_test
  disk/luks2: Add Argon2 support
  tests/util/grub-fs-tester: Use Argon2id for LUKS2 test
  docs: Document argon2 and argon2_test

 Makefile.util.def                     |  37 +-
 docs/grub.texi                        |  11 +
 grub-core/Makefile.core.def           |  13 +
 grub-core/disk/luks2.c                |  38 +-
 grub-core/lib/argon2.c                | 659 ++++++++++++++++++++++++++
 grub-core/tests/argon2_test.c         | 139 ++++++
 grub-core/tests/lib/functional_test.c |   1 +
 include/grub/crypto.h                 |  18 +
 tests/util/grub-fs-tester.in          |  10 +-
 9 files changed, 912 insertions(+), 14 deletions(-)
 create mode 100644 grub-core/lib/argon2.c
 create mode 100644 grub-core/tests/argon2_test.c

-- 
2.43.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to