Aug 16 2024
Is there anything I can do here?
Aug 14 2024
Updated to remove the extra newline
Aug 13 2024
Should note I just got done testing this with a clean 14.1 src tree that I applied the git diff to with no other changes; tested sha256 password and sha512 password, additionally un-commented both test vector suites and all passed.
Updated the diff per requested copyright changes.
Aug 12 2024
Thanks for the rebase. I have one minor housekeeping issue here, but otherwise defer to kevans' reviews (I can't tell if they are folded in or not, but they don't appear to be).
Synced with latest freebsd/main for diff generation, no other changes
As promised, updated, including modifications to export sha512 from C, updated lua crypt implementation to use exported C routines, removed the now unneeded pure lua implementation, I ran all validation suites on my computer and this is passing.
Aug 11 2024
Great! I'd forgotten I'd only included it in kboot since that's the only place I'd tested it.
I'll include it elsewhere by default. IIRC, the lua glue code is only about 200 extra bytes of code, so we can have it in the BIOS loader. We're not that close to the edge on it. Normally, I'd say no new features there, but this is a reasonable exception. The big ones that will be hard in the future is there will be no new ZFS compression or crypto supported there.
Aug 9 2024
Aug 6 2024
I can work on that and validate it; checking quickly it looks like the version exported is compatible (the big issue with other implementations was being given the binary form of the hash to work with, your export seems to do that).
I added lua bindings for the Sha hash functions. Can those be used instead of the lua implementation?
May 10 2024
updated diff -U 99999
May 2 2024
Could this be imported as is, and then when the hash modules are in and exported it could be switched over?
Apr 18 2024
I've created a hash module that has some of the sha routines. I don't have big issues connecting those.
Updated with all PR comments, save 1.
Nov 21 2023
src/sys/contrib/dev/acpica/include/actypes.h:235:41: error: redefinition of typedef 'BOOLEAN' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef unsigned char BOOLEAN;
^
/usr/src/stand/efi/include/efidef.h:33:25: note: previous definition is here
typedef UINT8 BOOLEAN;
This broke the armv7 build...
https://ci.freebsd.org/job/FreeBSD-main-armv7-build/19710/
Please fix ASAP.
Nov 20 2023
Nov 17 2023
I'm not seeing any remaining problems here, seems to LGTM.
Nov 6 2023
Just one minor nit
looks good now. Thanks for the split.
Stripped out lua diff to submit separately
I generally like this change, one or two quibbles to work out.
I'd also split the lua and other stuff into separate commits (the old lua code will work with the new loader.efi, which I like as well).
But I can do the splitting if that's a hassle. This is otherwise fairly clean so I wouldn't mind a small amount of extra work.
Nov 3 2023
Address Warner's comment regarding legacy hints and update the man page as suggested by Kyle
I'll take a look at the rest of this later...
Aug 26 2023
Nothing too concerning, mostly some style complaints but as a general rule I'd like to keep luacheck happy for the times it does actually identify legitimate issues.
- Updated documentation