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>bb10
parent
8d330f55ba
commit
dee8b4d6b1
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -558,6 +558,12 @@
|
|||
"purpose": "Provides a framework for gestures.",
|
||||
"section": "Utilities",
|
||||
"output": [ "publicFeature", "feature" ]
|
||||
},
|
||||
"sha3-fast": {
|
||||
"label": "Speed optimized SHA3",
|
||||
"purpose": "Optimizes SHA3 for speed instead of size.",
|
||||
"section": "Utilities",
|
||||
"output": [ "privateFeature" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue