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:
1 parent
6902a406b0
commit
b9643a7b56
2 files changed
+213
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -142,6 +142,9 @@ var
|
|||||||
dds : uint16;
|
dds : uint16;
|
||||||
keyboard_layout : array [0..1] of TKeyInfo;
|
keyboard_layout : array [0..1] of TKeyInfo;
|
||||||
i : uint32;
|
i : uint32;
|
||||||
|
sha1ctx : TSHA1Context;
|
||||||
|
sha1dig : TSHA1Digest;
|
||||||
|
sha1msg : array[0..9] of uint8;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
{ Init the base system unit }
|
{ Init the base system unit }
|
||||||
|
|||||||
Reference in new issue
Block a user