diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-03-19 13:59:30 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-03-19 13:59:30 +0100 |
commit | b5b4697c1c11163955ae68beb40398a8e1021d3a (patch) | |
tree | f90f8eaf9140a2ec3990ee1e3566aede365c0301 | |
parent | bb87f7b0e81b89104221b7558e9676b6f176d74f (diff) | |
download | libuecc-b5b4697c1c11163955ae68beb40398a8e1021d3a.tar libuecc-b5b4697c1c11163955ae68beb40398a8e1021d3a.zip |
Improve ecc_25519_scalarmult_base documentation
-rw-r--r-- | include/libuecc/ecc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libuecc/ecc.h b/include/libuecc/ecc.h index 0490bd5..1fb6106 100644 --- a/include/libuecc/ecc.h +++ b/include/libuecc/ecc.h @@ -249,6 +249,8 @@ void ecc_25519_scalarmult(ecc_25519_work_t *out, const ecc_int256_t *n, const ec * * The order of the base point is \f$ 2^{252} + 27742317777372353535851937790883648493 \f$. * + * ecc_25519_scalarmult_base_bits(out, n, bits) is faster than ecc_25519_scalarmult_bits(out, n, &ecc_25519_work_default_base, bits). + * * See the notes about \ref ecc_25519_scalarmult_bits before using this function. */ void ecc_25519_scalarmult_base_bits(ecc_25519_work_t *out, const ecc_int256_t *n, unsigned bits); @@ -257,6 +259,8 @@ void ecc_25519_scalarmult_base_bits(ecc_25519_work_t *out, const ecc_int256_t *n * Does a scalar multiplication of the default base point (generator element) of the Elliptic Curve with an integer * * The order of the base point is \f$ 2^{252} + 27742317777372353535851937790883648493 \f$. + * + * ecc_25519_scalarmult_base(out, n) is faster than ecc_25519_scalarmult(out, n, &ecc_25519_work_default_base). */ void ecc_25519_scalarmult_base(ecc_25519_work_t *out, const ecc_int256_t *n); |