Scott Haseley a97b1c80b2 Added sha256 hash function and hmac functions (with and without salt) to the kernel
and userspace.

In userspace, this is accessed through #include <secure.h>
In the kernel, this is access through #include <kern/secure.h>

There is a unit test for this (hm1) that computes the hmac and compares it to
the known value.  The salted vesion tested offline.

-----

Also, fixed usespace compile issue with not changing KERNEL_SECRET => SECRET.
2016-02-01 01:35:53 -05:00
2015-12-23 00:50:04 +00:00
2015-12-23 00:50:04 +00:00
2015-12-23 00:50:04 +00:00
2015-12-23 00:50:04 +00:00
2015-12-23 00:50:04 +00:00
2015-12-23 00:50:04 +00:00
2015-12-23 00:50:04 +00:00
S
Description
OS/161 assignments (ops-class)
1.2 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 92.5%
Makefile 3.1%
Assembly 2%
Shell 1.5%
Perl 0.6%
Other 0.2%