diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-03-18 15:12:46 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-03-18 15:12:46 +0100 |
commit | 5ade164170ee0349ddd82ed5bdac1212d2484176 (patch) | |
tree | e3c7cae6cadbe74a839603c4014613420a905878 /src | |
parent | 740355d5ddb4e003e386951b9e74d8a4d49f609e (diff) | |
download | libuecc-5ade164170ee0349ddd82ed5bdac1212d2484176.tar libuecc-5ade164170ee0349ddd82ed5bdac1212d2484176.zip |
Deprecate ecc_25519_work_base_ed25519 and ecc_25519_work_base_legacy
The deprecation of ecc_25519_work_default_base and
ecc_25519_scalarmult_base{,_bits} is reverted, as the Ed25519 and legacy
base points are represented in the same way now.
Diffstat (limited to 'src')
-rw-r--r-- | src/ec25519.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec25519.c b/src/ec25519.c index 0354f35..82ff709 100644 --- a/src/ec25519.c +++ b/src/ec25519.c @@ -851,9 +851,9 @@ void ecc_25519_scalarmult(ecc_25519_work_t *out, const ecc_int256_t *n, const ec } void ecc_25519_scalarmult_base_bits(ecc_25519_work_t *out, const ecc_int256_t *n, unsigned bits) { - ecc_25519_scalarmult_bits(out, n, &ecc_25519_work_base_legacy, bits); + ecc_25519_scalarmult_bits(out, n, &ecc_25519_work_default_base, bits); } void ecc_25519_scalarmult_base(ecc_25519_work_t *out, const ecc_int256_t *n) { - ecc_25519_scalarmult(out, n, &ecc_25519_work_base_legacy); + ecc_25519_scalarmult(out, n, &ecc_25519_work_default_base); } |