diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-29 14:47:52 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-29 14:47:52 +0000 |
commit | 0c2d9264a5ba79a013c5212a7d0d1541c0a58b41 (patch) | |
tree | 95df3b685e494aa8c3fd0f4ffc778c8498d618c9 /src/libcryptobox/curve25519 | |
parent | 7e98475477b4579c87bb3d535776c36a31143502 (diff) | |
download | rspamd-0c2d9264a5ba79a013c5212a7d0d1541c0a58b41.tar.gz rspamd-0c2d9264a5ba79a013c5212a7d0d1541c0a58b41.zip |
Add ed25519 reference implementation
Diffstat (limited to 'src/libcryptobox/curve25519')
-rw-r--r-- | src/libcryptobox/curve25519/fe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcryptobox/curve25519/fe.h b/src/libcryptobox/curve25519/fe.h index 1c4589659..d5d8b93fd 100644 --- a/src/libcryptobox/curve25519/fe.h +++ b/src/libcryptobox/curve25519/fe.h @@ -114,6 +114,7 @@ void ge_sub(ge_p1p1 *,const ge_p3 *,const ge_cached *); void ge_scalarmult_base(ge_p3 *,const unsigned char *); void ge_double_scalarmult_vartime(ge_p2 *,const unsigned char *,const ge_p3 *,const unsigned char *); void ge_scalarmult_vartime(ge_p3 *,const unsigned char *,const ge_p3 *); +int verify_32(const unsigned char *x, const unsigned char *y); /* The set of scalars is \Z/l |