ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/curve25519.C
(Generate patch)

Comparing gvpe/src/curve25519.C (file contents):
Revision 1.4 by root, Sat Jan 17 07:59:47 2015 UTC vs.
Revision 1.5 by root, Sat Jan 17 08:35:16 2015 UTC

34#include <cstring> 34#include <cstring>
35#include <openssl/rand.h> 35#include <openssl/rand.h>
36 36
37#include "util.h" 37#include "util.h"
38#include "curve25519.h" 38#include "curve25519.h"
39
40#if __GNUC__ >= 4 && __SIZEOF_LONG__ == 8
41#include "curve25519-donna-c64.c"
42#else
39#include "curve25519-donna.c" 43#include "curve25519-donna.c"
44#endif
40 45
41static void 46static void
42curve25519_derive (const curve25519_key &a, curve25519_key &b) 47curve25519_derive (const curve25519_key &a, curve25519_key &b)
43{ 48{
44 static const curve25519_key basepoint = { 9 }; 49 static const curve25519_key basepoint = { 9 };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines