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