Thom Wiggers
2108bdcdb5
Make a static global explicitly const
5 years ago
Douglas Stebila
4f19ea25d0
Merge pull request #201 from PQClean/sphinx_no_global_state
Eliminate the global state
5 years ago
Thom Wiggers
12c8a642ce
Fix Makefile (primitive.h->hash_state.h)
5 years ago
Thom Wiggers
74efb10807
Incorporate feedback
* Names passed around (mostly constant) value more clearly
* Put ``const`` where applicable (almost everywhere)
* Renamed ``primitive.h``
* Fixed some nits
5 years ago
Douglas Stebila
33ce5e14ce
Remove const
This was causing compilation failures with clang, that there were
duplicate const keywords once the macro was expanded in hash.h
5 years ago
Thom Wiggers
aa4611a4d1
Eliminate the global state
This PR sacrifices passing some extra arguments to get rid of the global
state.
* Haraka needs state in all hash calls, this results in changes to the
hash functions specified in `hash.h`. The extra pointers passed would
not be necessary for SHA256 or SHAKE256.
* SHAKE256 did not have global state, but uniformity in the implementations
requires us to pass around the new state context anyway. Otherwise,
@joostrijneveld's SPHINCS+ generator doesn't really work anymore).
We introduce a new header file called `primitive.h` which defines the
required state type for the generic functions. I did not go into
replacing _all_ occurrences of state variables by the new `hash_state`
macro.
5 years ago
Douglas Stebila
04a0dbfb72
Merge pull request #204 from PQClean/fix_travis_behaviour
Try to more reliably run the Travis PR path
5 years ago
Thom Wiggers
0d78cf8ea6
try to more reliably run the Travis PR path
5 years ago
Thom Wiggers
be941b28a8
Merge pull request #203 from PQClean/ds-sha3-512-finalize
Change sha3_512_inc_finalize output length to 64
5 years ago
Douglas Stebila
e53cf16fa8
Change sha3_512_inc_finalize output length to 64
5 years ago
Thom Wiggers
0ed5ba4a30
Merge pull request #192 from PQClean/saber
Add Saber
5 years ago
Matthias J. Kannwischer
756b550ceb
add Saber LICENSE
5 years ago
Douglas Stebila
b8a243bf2d
Merge pull request #198 from PQClean/ds-aes-key-schedule
Add release function for AES key schedule
5 years ago
Douglas Stebila
f041450262
Trivial commit to trigger a rerun of all CI.
5 years ago
Douglas Stebila
f21a1b7e24
Document AES key schedule release
[skip ci]
5 years ago
Douglas Stebila
d7f745a0e6
Alternative no-op
5 years ago
Douglas Stebila
f62ba7ac85
Merge branch 'ds-aes-key-schedule' of github.com:PQClean/PQClean into ds-aes-key-schedule
5 years ago
Douglas Stebila
4157e0fbad
Add release function for AES key schedule
5 years ago
Matthias J. Kannwischer
acde8afff2
Convert into a list for the Saber parameter sets
5 years ago
Matthias J. Kannwischer
515b04d87b
fix warnings
5 years ago
Matthias J. Kannwischer
931f466937
switch to the polymul from the submission
5 years ago
Matthias J. Kannwischer
e543aea8ea
add duplicate consistency checks for saber
5 years ago
Matthias J. Kannwischer
8378132c5e
clean up of comments and packing
5 years ago
Matthias J. Kannwischer
61b36e933b
remove wrong cast
5 years ago
Matthias J. Kannwischer
cc94db88fa
fix vs warning
5 years ago
Matthias J. Kannwischer
6aafbd56f2
add firesaber
5 years ago
Matthias J. Kannwischer
8539bd8684
add lightsaber
5 years ago
Matthias J. Kannwischer
15a9e77b4c
remove pre-processor conditionals
5 years ago
Matthias J. Kannwischer
510a7baee8
move header guards to the top
5 years ago
Matthias J. Kannwischer
a971a3188b
Revert "temporarily disable pre-processor test"
This reverts commit def5bddb62
.
5 years ago
Matthias J. Kannwischer
ccfe87a4a3
refactoring to make vs more happy
5 years ago
Matthias J. Kannwischer
03596d4705
another vs warning
5 years ago
Matthias J. Kannwischer
ef0ad8e752
fix some vs warnings
5 years ago
Matthias J. Kannwischer
31f9ee52ce
add license
5 years ago
Matthias J. Kannwischer
7883f8ce8c
Make auxiliary-submitters optional. Saber does not have any
5 years ago
Matthias J. Kannwischer
f18e464a68
add Saber
5 years ago
Matthias J. Kannwischer
ca1add7baf
temporarily disable pre-processor test
5 years ago
Matthias J. Kannwischer
5bdb9569e3
Merge pull request #195 from PQClean/fix_194
Convert `principal-submitter` into a list
5 years ago
Matthias J. Kannwischer
042d365e5c
convert `principal-submitter` into a list in CONTRIBUTING.md
5 years ago
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
5 years ago
Thom Wiggers
8a7e6ef81d
Merge pull request #196 from PQClean/fix_travis
Update OSX image
5 years ago
Douglas Stebila
82383c204e
Add release function for AES key schedule
5 years ago
Thom Wiggers
82563c9b64
Cache homebrew
5 years ago
Thom Wiggers
3ca9cfe5cd
Update OSX image
5 years ago
Thom Wiggers
e7d936e24a
Merge pull request #186 from leonbotros/leda
LEDAcrypt KEM-LT
5 years ago
Leon
3c733b6691
resolve todo, remove asserts, add duplicate checks and make sure they pass
5 years ago
Leon
e5b9b13160
rename impl to leaktime
5 years ago
Leon
db99d3ec09
more msvc complaints
5 years ago
Leon
e353081cc2
fix msvc warnings
5 years ago
Leon
bf0aca644e
avoid global state by including 2nd round threshold in secret key
5 years ago