Switch ecmult_gen to use storage types

This commit is contained in:
Pieter Wuille
2015-01-25 00:46:31 -04:00
parent 41f8455434
commit 55422b6aaf
3 changed files with 14 additions and 7 deletions

View File

@@ -110,4 +110,7 @@ static void secp256k1_ge_to_storage(secp256k1_ge_storage_t *r, const secp256k1_g
/** Convert a group element back from the storage type. */
static void secp256k1_ge_from_storage(secp256k1_ge_t *r, const secp256k1_ge_storage_t*);
/** If flag is true, set *r equal to *a; otherwise leave it. Constant-time. */
static void secp256k1_ge_storage_cmov(secp256k1_ge_storage_t *r, const secp256k1_ge_storage_t *a, int flag);
#endif