2 Commits

Author SHA1 Message Date
Simon Glass
f1514752a5 lib: Adapt argon2 library for U-Boot
Rename argon.c to argon_wrapper.c so we can use 'argon' as the library
name. Move the include file into the normal place.

Add SPDX tags but otherwise keep the files as is. The code style uses
spaces instead of tabs and has other differences with U-Boot

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-11-11 04:09:41 -07:00
Simon Glass
3c7c70b0d2 lib: Bring in argon2 library
This library is used for full-disk encryption with LUKS, so bring it in
from https://github.com/P-H-C/phc-winner-argon2 commit:

   f57e61e Merge pull request #321 from bittorf/fix-spelling-mistakes

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-11-11 04:09:41 -07:00