Mercurial > dropbear
diff curve25519.h @ 1707:41a0ff8d5a89
void return types for curve25519
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 30 May 2020 00:05:49 +0800 |
parents | d32bcb5c557d |
children |
line wrap: on
line diff
--- a/curve25519.h Fri May 29 23:32:19 2020 +0800 +++ b/curve25519.h Sat May 30 00:05:49 2020 +0800 @@ -25,9 +25,9 @@ #ifndef DROPBEAR_CURVE25519_H #define DROPBEAR_CURVE25519_H -int dropbear_curve25519_scalarmult(unsigned char *q, const unsigned char *n, const unsigned char *p); -int dropbear_ed25519_make_key(unsigned char *pk, unsigned char *sk); -int dropbear_ed25519_sign(const unsigned char *m, unsigned long mlen, +void dropbear_curve25519_scalarmult(unsigned char *q, const unsigned char *n, const unsigned char *p); +void dropbear_ed25519_make_key(unsigned char *pk, unsigned char *sk); +void dropbear_ed25519_sign(const unsigned char *m, unsigned long mlen, unsigned char *s, unsigned long *slen, const unsigned char *sk, const unsigned char *pk); int dropbear_ed25519_verify(const unsigned char *m, unsigned long mlen,