16 Commits

Author SHA1 Message Date
Scott Haseley
1b99c0e18f Refactored ksecprintf -> secprintf. Secure code is now all in common libtest161.
This library gets linked in by default in userland, and the common files are
included in the kernel.
2016-02-23 15:31:37 -05:00
Geoffrey Challen
2e74764d49 Be better about creating the compile directory. 2016-02-22 13:33:36 -05:00
Geoffrey Challen
d9de9ca947 Configurations for test161. 2016-02-12 13:04:10 -05:00
Geoffrey Challen
ec9ae33666 Redisable synchprobs by default. 2016-02-11 19:56:59 -05:00
Geoffrey Challen
4b630a915d Cleanup. 2016-02-11 19:53:53 -05:00
Geoffrey Challen
27b85a44ab Nearing done with ASST1 changes. 2016-02-11 16:35:46 -05:00
Geoffrey Challen
875b75bf24 Improvements to synchronization tests. 2016-02-11 13:55:09 -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
6c7e083827 Rename to allow complete test directory overwrite. 2016-01-22 11:18: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
015b989a66 Fixing synchronization tests. 2015-12-31 19:38:38 -05:00
Geoffrey Challen
26612b6142 Refactor test code. 2015-12-31 19:26:33 -05:00
Geoffrey Challen
2e721daedf Small change to configuration file. 2015-12-31 14:31:22 -05:00
Geoffrey Challen
f818d0bd30 Synchronization problem stubs and drivers. 2015-12-31 14:28:15 -05:00
Geoffrey Challen
cafa9f5690 Initial Spring 2016 commit. 2015-12-23 00:50:04 +00:00