Thom Wiggers
4cea81d15f
Convert `principal-submitter` into a list
There are schemes, like SABER (#192 ) that have more than one principal
submitter. Consistency warrants that we turn it into a list for all
schemes and don't do something with allowing either a str or a list:
that would just be very annoying to parse.
Closes #194
há 5 anos
Matthias J. Kannwischer
2d2211791f
polish dilithium
há 5 anos
Matthias J. Kannwischer
d5818a40b0
change include order; add missing includes ( #185 )
há 5 anos
Matthias J. Kannwischer
e56b2e5556
Add Dilithium ( #172 )
* fixes dynamic memory allocation test. previously a function called freeze() would trigger it
* this adds DilithiumII. Preprocessor conditionals still need to be removed
* fix ms Makefile
* fix MS compiler warnings
* clean-up
* remove preprocessor conditionals
* add dilithium3
* add dilithium4
* add duplicate consistency checks
* SHA2 state constants in common
* clean up symmetric.h
* Port SPHINCS+-SHA256 to sha256ctx struct
* Implement ctx struct for fips202
* Port Kyber{512,768,1024} to fips202 ctx struct
* Port NewHope to fips202 structs
* Port SPHINCS+-SHAKE256 to fips202 ctx structs
* Use opaque fips202 structs in MQDSS
* port dilithium to use fips202 ctx structs
* include -Wredundant-decls
* remove comment; format NTT constants
* reduce casts in power2round
há 5 anos
Thom Wiggers
199adb8072
Add -Wredundant-decls
há 5 anos
Thom Wiggers
0e73f2dda2
Use opaque fips202 structs in MQDSS
há 5 anos
Thom Wiggers
692fba119c
Port SPHINCS+-SHAKE256 to fips202 ctx structs
há 5 anos
Thom Wiggers
6953a0b32e
Port SPHINCS+-SHA256 to sha256ctx struct
há 5 anos
Matthias J. Kannwischer
951f7a0824
check nist kats for signatures. resolves #169
há 5 anos
Joost Rijneveld
299ffc951d
Mark variable as extern in .h; declare in .c
há 5 anos
Joost Rijneveld
f846727acb
Revert "Remove redundant array decl SPHINCS+"
This reverts commit 00639575b0
.
há 5 anos
Joost Rijneveld
00639575b0
Remove redundant array decl SPHINCS+
há 5 anos
Joost Rijneveld
2502ed604b
Add windows Makefiles
há 5 anos
Joost Rijneveld
a91df71776
Add MQDSS-64
há 5 anos
Joost Rijneveld
bd2dd0b126
Add MQDSS-48 license
há 5 anos
Joost Rijneveld
46698bf4c8
Prevent unnecessary type coercion
há 5 anos
Joost Rijneveld
8357fb1c80
Format mqdss-48
há 5 anos
Joost Rijneveld
2e304246c4
Implement detached MQDSS signatures
há 5 anos
Joost Rijneveld
db6f71086f
MQDSS-48 before detached signatures
há 5 anos
Joost Rijneveld
f3980cf033
Fix input/output overwrite for MGF1
há 5 anos
Joost Rijneveld
08e6c6c052
Use more standard -Wvla
há 5 anos
Joost Rijneveld
68b12866ce
Use more standard Wvla
há 5 anos
Joost Rijneveld
713f6788b9
Fix VLAs in SHA256
há 5 anos
Joost Rijneveld
821916bc98
Prevent VLA in Haraka
há 5 anos
Joost Rijneveld
908329e0e8
Throw errors when using variable-length arrays
Windows already complains about this in CI, but this will
let us catch these issues on Linux as well.
há 5 anos
Joost Rijneveld
e32666a0ab
Throw errors when using variable-length arrays
Windows already complains about this in CI, but this will
let us catch these issues on Linux as well.
há 5 anos
Joost Rijneveld
7ee9b2cabb
Update testvector hashes after 8c007bf
há 5 anos
Joost Rijneveld
5783c2d74f
Move SPHINCS secret key length to scheme META
há 5 anos
Joost Rijneveld
87cb0befee
Update Haraka to constant-time implementation
Thanks to Stefan Kölbl
há 5 anos
Thom Wiggers
1017c10d0a
Add -O3 to CFLAGS
há 5 anos
Joost Rijneveld
c6af1c768e
Fix SPHINCS api.h constants
há 5 anos
Joost Rijneveld
fae8313664
Add the other 35 SPHINCS+ variants
há 5 anos
Thom Wiggers
b5d4e93478
Add -O3 to CFLAGS
há 5 anos
Joost Rijneveld
972315dec5
Move secret key length back to scheme-level META
há 5 anos
Joost Rijneveld
db7843c5eb
SPHINCS: make integer promotion explicit
há 5 anos
Matthias J. Kannwischer
5587cdb4a8
Add -Wmissing-prototypes ( #109 )
* fix prototypes for sphincs and static functions in aes.c
* fix missing prototypes in all frodo variants
* fix missing prototypes in kyber
* remove const from non-pointer arguments in Frodo
* add missing prototypes to requirements in README
há 5 anos
Douglas Stebila
0bc19b3633
Fix a few nits ( #107 )
* Minor changes
* Gracefully degrade if clang-tidy segfaults
* Typo on returncode
há 5 anos
Joost Rijneveld
26ffedc86b
SPHINCS: strictly check integer conversions
há 5 anos
Joost Rijneveld
af508a9c1f
SPHINCS: remove stray Makefile variables
há 5 anos
Joost Rijneveld
ba70da9189
Fix variable-length arrays using wrappers
há 5 anos
Joost Rijneveld
e580dcb487
Remove stray include in api.h
há 5 anos
Joost Rijneveld
6cb332cae5
Remove conditional preprocessor statements
há 5 anos
Joost Rijneveld
80af118676
Prevent uninitialized variable warning
há 5 anos
Joost Rijneveld
a300190d5b
Resolve type coercions
há 5 anos
Joost Rijneveld
a14dcefb32
Add SPHINCS-SHAKE256-128f-simple
há 5 anos
Joost Rijneveld
e7602479f1
Remove round 1 Dilithium
This does not implement the detached signature API, and will
change significantly for NIST's 2nd round anyway.
há 5 anos
Thom Wiggers
d39d7c66db
Add missing metadata to META
há 5 anos
Joost Rijneveld
f355e77407
Clarify and reduce iterations for sig testvectors
This is actually different from signature functests,
which only tests mlen=32. Can be fixed later as that does
not impact the testvectors.
há 5 anos
Thom Wiggers
8eacafb3c9
Fix dilithium header guard
há 5 anos
Thom Wiggers
6558773b21
Check if header guard is defined properly
Does this slightly uglily, but it should work.
há 5 anos