Commit Graph

26 Commits

Author SHA1 Message Date
Thom Wiggers
77e9a23431 Move keys to heap for KEMs as well 2021-03-24 21:02:45 +00:00
Matthias J. Kannwischer
1d789dc90d check algo names 2019-09-19 12:43:57 +02:00
Matthias J. Kannwischer
d5818a40b0 change include order; add missing includes (#185) 2019-06-11 15:09:07 +02:00
Matthias J. Kannwischer
aaea91f315 change ciphertext to completly random value to also cover only passively secure schemes 2019-05-09 07:38:17 +02:00
Thom Wiggers
f39b300e4e
Reduce number of tests for functest 2019-04-18 11:26:28 +02:00
Douglas Stebila
b80eebdd71 Fix Windows type warning 2019-04-14 20:31:17 -04:00
Douglas Stebila
a815543f32 Add NIST KAT check for KEMs 2019-04-14 17:17:11 -04:00
Douglas Stebila
a296085e57 Merge branch 'master' into more-frodo 2019-04-06 08:51:03 -04:00
Joost Rijneveld
e2fcad2823
Merge branch 'master' into reduce-iterations 2019-04-06 13:10:21 +02:00
Thom Wiggers
d1fd8aa934
Check the specified sizes of the metadata match api.h consts
Fixes #88
2019-04-05 17:04:37 +02:00
Douglas Stebila
19d177efb3 Use 5 iteractions for functional tests and test vectors 2019-04-05 10:22:52 -04:00
Douglas Stebila
301f7aca57 Always return negative numbers so positive+negative != 0 2019-04-04 12:39:47 -04:00
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