Andy Polyakov
22f9fa6e06
sha/keccak1600.c: reduce temporary storage utilization even futher.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-06-05 19:35:30 +02:00
Andy Polyakov
1ded2dd3ee
sha/keccak1600.c: add another 1x variant.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-06-05 19:35:07 +02:00
Andy Polyakov
c83a4db521
sha/keccak1600.c: add ARM-specific "reference" tweaks.
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-06-05 19:34:48 +02:00
Andy Polyakov
1f2aff257d
sha/keccak1600.c: implement lane complementing transform
...
...as discussed in section 2.2 of "Keccak implementation overview".
[skip ci]
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-05-30 19:53:14 +02:00
Andy Polyakov
0dd0be9408
sha/keccak1600.c: implement bit interleaving optimization.
...
This targets 32-bit processors and is discussed in section 2.1 of
"Keccak implementation overview".
Reviewed-by: Rich Salz <rsalz@openssl.org>
2017-05-30 19:52:50 +02:00
Richard Levitte
74a011ebb5
Cleanup - use e_os2.h rather than stdint.h
...
Not exactly everywhere, but in those source files where stdint.h is
included conditionally, or where it will be eventually
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3447 )
2017-05-11 21:52:37 +02:00
Andy Polyakov
79dfc3ddfd
sha/keccak1600.c: add some optimized implementations.
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-11-11 13:32:35 +01:00
Andy Polyakov
4b90430148
sha/keccak1600.c: add couple of soft asserts.
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-10-31 22:18:07 +01:00
Andy Polyakov
c3086f4630
sha/keccak1600.c: add known answer and verify result with memcmp.
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-10-24 12:59:42 +02:00
Andy Polyakov
b9feae1b17
crypto/sha: add Keccak1600 primitives to build SHA-3 upon.
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-10-24 12:59:27 +02:00