Thom Wiggers
facb527c7c
SPHINCS+ optimized implementations ( #253 )
...
* Add state destroy to SHA2 API
* Include optimized SPHINCS+ implementations
I've generated new implementations from the sphincsplus repository.
* Don't destroy sha256ctx after finalize
* Attempt to shut up MSVC
* Make sure to drop errors in rmtree
2021-03-24 21:02:45 +00:00
Matthias J. Kannwischer
6ee774a593
fix incremental sha512
2019-09-10 11:27:37 +02:00
Douglas Stebila
b70216eb8d
Implement state clone for rest of SHA-2 incremental API
2019-07-30 13:25:23 -04:00
Douglas Stebila
4d7e5886c9
Rename dupe to clone
2019-07-30 13:23:22 -04:00
Douglas Stebila
6461896475
Add abstract state duplication for SHA256 incremental hashing API
2019-07-17 22:42:51 -04:00
Thom Wiggers
7c30aa73c9
SHA2 state constants in common
2019-05-20 09:20:12 +02:00
Joost Rijneveld
f0ffc59696
Add SHA224 for completeness
2019-03-11 16:50:00 +01:00
Joost Rijneveld
83810dcc47
Expose incremental SHA2 API
2019-03-11 16:50:00 +01:00
Joost Rijneveld
6d84aec3db
Add SHA256
2019-03-11 16:50:00 +01:00
Thom Wiggers
06955dfc21
Explicit casts in conversions
2019-02-27 16:19:00 +01:00
312616113a
common: use fixed size integers
2019-02-17 13:16:21 +00:00
Thom Wiggers
3b73ea134d
Formatted everything with astyle
...
clang-format was not flexible enough to allow lining out things on
columns with spaces.
2019-02-14 14:08:16 +01:00
Joost Rijneveld
7028025eb9
Normalize whitespace
2019-01-16 11:02:32 +01:00
Thom Wiggers
b22a21c08a
Add clang-tidy, only require SCHEME where needed
2019-01-16 10:45:27 +01:00
Matthias J. Kannwischer
39aba8ac24
add .clang-format and formatted all the files
2019-01-15 16:34:01 +01:00
Matthias J. Kannwischer
6af18c31cd
add common sha2/sha3/randombytes
2019-01-15 15:35:25 +01:00