Move lambda-splitting code to scalar.

It's not really an operation on group elements.
This commit is contained in:
Pieter Wuille
2014-11-27 00:08:52 +01:00
parent f24041d6aa
commit 4285a98722
5 changed files with 76 additions and 53 deletions

View File

@@ -21,6 +21,7 @@
void secp256k1_start(unsigned int flags) {
secp256k1_fe_start();
secp256k1_ge_start();
secp256k1_scalar_start();
secp256k1_ecdsa_start();
if (flags & SECP256K1_START_SIGN) {
secp256k1_ecmult_gen_start();
@@ -34,6 +35,7 @@ void secp256k1_stop(void) {
secp256k1_ecmult_stop();
secp256k1_ecmult_gen_stop();
secp256k1_ecdsa_stop();
secp256k1_scalar_stop();
secp256k1_ge_stop();
secp256k1_fe_stop();
}