11 Commits

Author SHA1 Message Date
Yihong Chen
bfb353c211 revert sy6 changes 2016-02-10 20:28:14 -05:00
Yihong Chen
c1216b66b3 add sy6: locktest2 2016-02-10 20:20:41 -05:00
Yihong Chen
1b38886b8d Merge branch 'master' of gitlab.ops-class.org:staff/os161 2016-02-01 10:40:46 -05:00
Yihong Chen
5e3334057a change synchprobs codes for reliable test. 2016-02-01 10:40:24 -05:00
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
Geoffrey Challen
716d33964b Secret testing with multiplier working. 2016-01-31 09:53:13 -05:00
Geoffrey Challen
a6878c822b Trying to get closer to the original OS/161 sources. 2016-01-11 20:54:52 -05:00
Geoffrey Challen
b66416e24f Automation testing tools. 2016-01-11 16:08:40 -05:00
Geoffrey Challen
f818d0bd30 Synchronization problem stubs and drivers. 2015-12-31 14:28:15 -05:00
Geoffrey Challen
1b63251154 RW test stub. 2015-12-31 13:56:21 -05:00
Geoffrey Challen
cafa9f5690 Initial Spring 2016 commit. 2015-12-23 00:50:04 +00:00