Thom Wiggers
133a38b890
Move test support files into tests directory ( #200 )
* Move test support files into tests directory
* Fix common tests dir in test
* Fix Windows Makefile for common tests
* notrandombytes.obj should be in TEST_COMMON_DIR
пре 5 година
Douglas Stebila
e53cf16fa8
Change sha3_512_inc_finalize output length to 64
пре 5 година
Douglas Stebila
d7f745a0e6
Alternative no-op
пре 5 година
Douglas Stebila
4157e0fbad
Add release function for AES key schedule
пре 5 година
Douglas Stebila
82383c204e
Add release function for AES key schedule
пре 5 година
Leon
32b3a97809
add sha3_384
пре 5 година
Ko-
cf88fb781e
Satisfy linter
пре 5 година
Ko-
db7d3deb03
Add cSHAKE{128,256} to common.
пре 5 година
Thom Wiggers
b153768783
Implement ctx struct for fips202
пре 5 година
Thom Wiggers
7c30aa73c9
SHA2 state constants in common
пре 5 година
Douglas Stebila
8e7cf2b5cd
Fix linter complaints
пре 5 година
Douglas Stebila
a815543f32
Add NIST KAT check for KEMs
пре 5 година
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
пре 5 година
Douglas Stebila
aea72d3eb2
Add macros for AES block size
пре 5 година
Peter Schwabe
4970379baf
Added simple test for AES
пре 5 година
Peter Schwabe
45a12595df
Added const keyword to a few pointer arguments in AES
пре 5 година
Peter Schwabe
40661601bd
Eliminated unnecessary casts
пре 5 година
Peter Schwabe
ed8a4ea2f4
Fixed wrong header name in aes.c
пре 5 година
Peter Schwabe
93c24e34c6
Formatted AES code properly
пре 5 година
Peter Schwabe
070db10cc1
Added (constant-time) AES implementation, based on BearSSL
пре 5 година
Joost Rijneveld
d325e39c68
Add documentation for SHA2 blockwise functions
пре 5 година
Joost Rijneveld
f0ffc59696
Add SHA224 for completeness
пре 5 година
Joost Rijneveld
83810dcc47
Expose incremental SHA2 API
пре 5 година
Joost Rijneveld
6d84aec3db
Add SHA256
пре 5 година
Joost Rijneveld
760b5926c4
Add incremental SHA3
пре 5 година
Joost Rijneveld
23178c4c32
Add incremental API for shake128 and shake256
пре 5 година
Thom Wiggers
a230c51cf5
Disable clang-tidy lint on windows.h include
пре 5 година
Thom Wiggers
b7bc9b6cb0
Cast a value in notrandombytes.c
пре 5 година
Thom Wiggers
ea19211d21
Cast size_t to DWORD on Windows
пре 5 година
Thom Wiggers
06955dfc21
Explicit casts in conversions
пре 5 година
Douglas Stebila
5f3e8ca2d5
Build functional tests and test vectors on Windows continuous integration
пре 5 година
Kris Kwiatkowski
312616113a
common: use fixed size integers
пре 5 година
Thom Wiggers
3b73ea134d
Formatted everything with astyle
clang-format was not flexible enough to allow lining out things on
columns with spaces.
пре 5 година
Thom Wiggers
fe46514836
Include full clangformat config.
Hopefully stabilizes behaviour between versions.
пре 5 година
Thom Wiggers
59f92730cf
Include an actually random version of randombytes
пре 5 година
Thom Wiggers
4d0082fa43
Add travis config
Also fixes some tidy issues
Not sure why my local clang-tidy doesn't complain
пре 5 година
Joost Rijneveld
7028025eb9
Normalize whitespace
пре 5 година
Thom Wiggers
b22a21c08a
Add clang-tidy, only require SCHEME where needed
пре 5 година
Joost Rijneveld
2a5a628e48
Add Dilithium-III
пре 5 година
Joost Rijneveld
6f48921cd5
Manually format MUSH macros in randombytes
The previous formatting did not immediately stabilize,
and the resulting formatting is somewhat arbitrary.
Manually inserting linebreaks seems to make more sense.
пре 5 година
Matthias J. Kannwischer
39aba8ac24
add .clang-format and formatted all the files
пре 5 година
Thom Wiggers
96ae01ef1b
Clarify that randombytes.c is not at all random
пре 5 година
Joost Rijneveld
b5e46c91b8
Remove unused variables from randombytes
пре 5 година
Matthias J. Kannwischer
6af18c31cd
add common sha2/sha3/randombytes
пре 5 година