Commit Graph

14 Commits

Author SHA1 Message Date
Douglas Stebila
4162be0401 Switch for int and unsigned char to size_to and uint8_t 2019-04-02 14:06:06 -04:00
Thom Wiggers
e811376a95
Do the test more properly 2019-03-19 15:20:59 +00:00
Thom Wiggers
6558773b21
Check if header guard is defined properly
Does this slightly uglily, but it should work.
2019-03-19 15:02:09 +00:00
Thom Wiggers
05b0f6d9cc
Namespace the #define constants. 2019-03-19 13:28:15 +00:00
Thom Wiggers
07b8c2ebe9
Make all apis use the uint8_t and size_t types 2019-03-05 14:14:47 +01:00
Matthias J. Kannwischer
27344bd7ca un-align pointers. Resolves #24 2019-02-28 09:15:09 +01:00
Thom Wiggers
3b73ea134d
Formatted everything with astyle
clang-format was not flexible enough to allow lining out things on
columns with spaces.
2019-02-14 14:08:16 +01:00
Thom Wiggers
fe46514836
Include full clangformat config.
Hopefully stabilizes behaviour between versions.
2019-02-11 10:05:54 +01:00
Peter Schwabe
69e593427a Removed need for aligned types (which are not portable)
Resolves #22
2019-02-11 09:41:32 +01:00
Thom Wiggers
c2747e6860
Further fix the zero return codes for bad kem ops 2019-01-29 17:32:30 +01:00
Thom Wiggers
37be4a2044
Don't fail if decapsulating with wrong keys doesn't return -1
Closes #11
2019-01-29 16:05:55 +01:00
Thom Wiggers
31449679bd
Partially validate return codes 2019-01-23 13:09:18 +01:00
Joost Rijneveld
8228363495
Include scheme namespace in tests 2019-01-22 17:40:27 +01:00
Joost Rijneveld
e61a320aed
Move tests to separate directory 2019-01-17 17:44:55 +01:00