Commit Graph

65 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
Douglas Stebila
41bc57689c Fix more compiler warnings 2019-03-31 21:55:55 -04:00
Douglas Stebila
1e5e9d96f8 Fix compiler warnings and bug 2019-03-31 21:52:35 -04:00
Douglas Stebila
9cb1c56ac1 Make Frodo code endian-agnostic 2019-03-31 21:44:36 -04:00
Douglas Stebila
028fb2120e Fix typo 2019-03-21 23:53:53 -04:00
Douglas Stebila
ca798ee18a Fix Windows warnings 2019-03-21 23:51:34 -04:00
Douglas Stebila
f0ba4f2051 Add Windows Makefile 2019-03-21 23:48:52 -04:00
Douglas Stebila
e153dfdf56 Apply clang-tidy 2019-03-21 23:40:12 -04:00
Douglas Stebila
7485f35366 Apply astyle 2019-03-21 23:27:16 -04:00
Douglas Stebila
a2399091a7 Initial FrodoKEM-640-SHAKE implementation 2019-03-21 22:56:45 -04: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
45e645c3a7
Fix Makefile.Microsoft_nmake header dependencies 2019-03-06 17:15:23 +01:00
Thom Wiggers
d503a712ba
Fix nmakefiles
LIB is already an environment variable on Windows
2019-03-06 17:14:35 +01:00
Thom Wiggers
07b8c2ebe9
Make all apis use the uint8_t and size_t types 2019-03-05 14:14:47 +01:00
Joost Rijneveld
879574b695
Include name of implementation in namespace 2019-02-27 09:18:38 +01:00
Douglas Stebila
5297954630 Add dependency to header files in Makefile 2019-02-18 10:19:07 -05:00
Peter Schwabe
a96abac2de Removed FIXME comment 2019-02-14 19:16:52 +01:00
Peter Schwabe
bab1d185cd Made one more cast explicit 2019-02-14 16:18:17 +01:00
Peter Schwabe
393c7a3cde Fixed one cast (added appropriate parantheses) 2019-02-14 16:16:50 +01:00
Peter Schwabe
8b8f27b003 Make various casts in kyber explicit to make MS compiler happy with /W4 2019-02-14 16:14:47 +01:00
Peter Schwabe
81797c2c13 Increased warning level for compilation under Windows to /W4 2019-02-14 16:02:57 +01:00
Peter Schwabe
55b63353a8 Fixed Makefile 2019-02-14 16:00:52 +01:00
Peter Schwabe
9b29d34bf9 Merge branch 'reformat-kyber'
Fixed (hopefully) both formatting and astyle config to not break
formatting again
2019-02-14 15:32:12 +01:00
Peter Schwabe
8e594f3c23 Some cleanup, expanded dependencies, removed two unnecessary files in kyber768 2019-02-14 15:30:55 +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
Douglas Stebila
f64a7e0dd4 Reimplement Python tests using nose framework 2019-02-13 22:25:34 -05:00
Douglas Stebila
157977258c Make makefiles for Dilithium consistent with merged Kyber makefiles 2019-02-08 10:06:07 -05:00
Douglas Stebila
f1f0c1d332 Merge branch 'master' into make-dilithium 2019-02-08 10:02:24 -05:00
Douglas Stebila
24e28e3402 Use a single Makefile for BSD and GNU Make and add comments 2019-02-08 09:42:53 -05:00
Douglas Stebila
2d684ea323
Revert temporary error 2019-02-07 10:01:06 +01:00
Douglas Stebila
5d931897e6
Temporary check that errors really make the build fail 2019-02-07 10:01:06 +01:00
Douglas Stebila
7c0ecc0cdb
Create nmake file for building on Windows and fix compilation error 2019-02-07 10:01:06 +01:00
Douglas Stebila
e98d053623
Rename 2019-02-07 10:01:06 +01:00
Douglas Stebila
4a387d7896
Rename GNU Makefile 2019-02-07 10:01:06 +01:00
Douglas Stebila
84d8d5a6c2
Clean up Makefile 2019-02-07 10:01:05 +01:00
Douglas Stebila
da2667a846
Add local Makefile for kyber768 2019-02-07 10:01:05 +01:00
Douglas Stebila
dcc18d9b66 Revert temporary error 2019-02-06 20:24:26 -05:00
Douglas Stebila
c22d445e98 Temporary check that errors really make the build fail 2019-02-06 20:22:59 -05:00
Douglas Stebila
e914d18696 Create nmake file for building on Windows and fix compilation error 2019-02-06 18:37:50 -05:00
Douglas Stebila
06223ecb3a Rename 2019-02-06 12:46:50 -05:00
Douglas Stebila
d6d7217742 Rename GNU Makefile 2019-02-06 12:41:55 -05:00
Douglas Stebila
da6dd5f792 Clean up Makefile 2019-02-06 12:22:58 -05:00
Douglas Stebila
65918c0fa8 Add local Makefile for kyber768 2019-02-01 20:58:26 -05:00
Matthias J. Kannwischer
3b47fb2db7 check for license files 2019-01-29 17:45:37 +01:00
Thom Wiggers
66d5284e43
Fix specification of current implementations
See #2
2019-01-29 17:25:55 +01:00
Thom Wiggers
0c65364f34
Remove obsolete SHA3 hash from META.yml files.
We moved to SHA256 for compatibility with older versions of Python 3, and this hash is thus unchecked. It will only get out of date, so it seems better to remove it.
2019-01-29 16:39:27 +01:00
Joost Rijneveld
5d5b6f26a3
Ensure Python3.5 compatibility
This means we must downgrade to SHA256, as SHA3 is not in hashlib.
2019-01-23 11:27:43 +01:00
Joost Rijneveld
4cac434f47
Namespace Kyber768 and Dilithium-III 2019-01-22 17:40:27 +01:00
Matthias J. Kannwischer
f7fb850ecf check testvectors 2019-01-18 14:43:05 +01:00