diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-08-18 22:22:31 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-08-18 22:22:31 +0200 |
commit | e741c9385af4eaecd4329199803163adeb3ce350 (patch) | |
tree | 846a582b2314ae47766978a2173495f3c1222d73 /curve25519.h | |
parent | 6c8d40f7134bf4069a4ef56c16fa21095fe6f577 (diff) | |
download | nettle-e741c9385af4eaecd4329199803163adeb3ce350.tar.gz |
Implemented curve25519_mul.
Diffstat (limited to 'curve25519.h')
-rw-r--r-- | curve25519.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/curve25519.h b/curve25519.h index 03cb151d..bcf579d7 100644 --- a/curve25519.h +++ b/curve25519.h @@ -40,10 +40,14 @@ extern "C" { /* Name mangling */ #define curve25519_mul_g nettle_curve25519_mul_g +#define curve25519_mul nettle_curve25519_mul #define CURVE25519_SIZE 32 void curve25519_mul_g (uint8_t *q, const uint8_t *n); +int +curve25519_mul (uint8_t *q, const uint8_t *n, const uint8_t *p); + #endif /* NETTLE_CURVE25519_H */ |