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