feature: SHA-1 Hashing

- Add SHA-1 hashing implementation with Init/Update/Final API and inline test in kernel,
  following the same interface as MD5 & the fpc rtl.
This commit is contained in:
t3hn3rd committed 2026-03-07 20:58:51 +00:00
1 parent b9643a7b56
commit 3d334b8e8b
1 file changed
+3
+3
View File
@@ -145,6 +145,9 @@ var
sha1ctx : TSHA1Context; sha1ctx : TSHA1Context;
sha1dig : TSHA1Digest; sha1dig : TSHA1Digest;
sha1msg : array[0..9] of uint8; sha1msg : array[0..9] of uint8;
sha1ctx : TSHA1Context;
sha1dig : TSHA1Digest;
sha1msg : array[0..9] of uint8;
begin begin
{ Init the base system unit } { Init the base system unit }