Update ECC timing tests
Signed-off-by: Pascal Brand <pascal.brand@st.com>
This commit is contained in:
parent
08629ed2b0
commit
7313d1e6b0
@ -1171,28 +1171,28 @@ void time_ecc(void)
|
|||||||
unsigned long i, w, x, y, z;
|
unsigned long i, w, x, y, z;
|
||||||
int err, stat;
|
int err, stat;
|
||||||
static unsigned long sizes[] = {
|
static unsigned long sizes[] = {
|
||||||
#ifdef ECC112
|
#ifdef LTC_ECC112
|
||||||
112/8,
|
112/8,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ECC128
|
#ifdef LTC_ECC128
|
||||||
128/8,
|
128/8,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ECC160
|
#ifdef LTC_ECC160
|
||||||
160/8,
|
160/8,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ECC192
|
#ifdef LTC_ECC192
|
||||||
192/8,
|
192/8,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ECC224
|
#ifdef LTC_ECC224
|
||||||
224/8,
|
224/8,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ECC256
|
#ifdef LTC_ECC256
|
||||||
256/8,
|
256/8,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ECC384
|
#ifdef LTC_ECC384
|
||||||
384/8,
|
384/8,
|
||||||
#endif
|
#endif
|
||||||
#ifdef ECC521
|
#ifdef LTC_ECC521
|
||||||
521/8,
|
521/8,
|
||||||
#endif
|
#endif
|
||||||
100000};
|
100000};
|
||||||
|
Loading…
Reference in New Issue
Block a user