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,9 @@
#error "Please select scalar implementation"
#endif
static void secp256k1_scalar_start(void);
static void secp256k1_scalar_stop(void);
/** Clear a scalar to prevent the leak of sensitive data. */
static void secp256k1_scalar_clear(secp256k1_scalar_t *r);