Use constant-time conditional moves instead of byte slicing

This commit is contained in:
Pieter Wuille
2014-12-02 20:20:13 +01:00
parent d220062ac2
commit efb7d4b299
7 changed files with 55 additions and 10 deletions

View File

@@ -411,7 +411,6 @@ static void secp256k1_gej_mul_lambda(secp256k1_gej_t *r, const secp256k1_gej_t *
}
#endif
static void secp256k1_ge_start(void) {
static const unsigned char secp256k1_ge_consts_g_x[] = {
0x79,0xBE,0x66,0x7E,0xF9,0xDC,0xBB,0xAC,