diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2016-02-08 14:07:45 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-10-11 06:05:13 +0000 |
commit | dee8b4d6b1d08e8ede98f38e7c972a7d1099d6c1 (patch) | |
tree | ab9b800d379451dd6c12ab3cb8d528e966dee3bb /src/3rdparty/sha3 | |
parent | 8d330f55ba26600b93dda9fdcfacb571cfd1e94b (diff) | |
download | qtbase-dee8b4d6b1d08e8ede98f38e7c972a7d1099d6c1.tar.gz |
Save 100k by not using bloated sha3 code
Probably makes sha3 calculations somewhat slower.
Change-Id: Ie082c163b91d4e2282ad68b810e56b2437a1eb8a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/3rdparty/sha3')
-rw-r--r-- | src/3rdparty/sha3/KeccakF-1600-interface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/sha3/KeccakF-1600-interface.h b/src/3rdparty/sha3/KeccakF-1600-interface.h index ce2710eeb2..39caaaecbd 100644 --- a/src/3rdparty/sha3/KeccakF-1600-interface.h +++ b/src/3rdparty/sha3/KeccakF-1600-interface.h @@ -14,7 +14,11 @@ http://creativecommons.org/publicdomain/zero/1.0/ #ifndef _KeccakPermutationInterface_h_ #define _KeccakPermutationInterface_h_ +#include <private/qglobal_p.h> + +#if QT_CONFIG(sha3_fast) #include "KeccakF-1600-int-set.h" +#endif static void KeccakInitialize( void ); static void KeccakInitializeState(unsigned char *state); |