libsec: add curve25519() from http://code.google.com/p/curve25519-donna/
this is a portable version of curve25519() by google.
This commit is contained in:
parent
d8a57c0ae3
commit
0e51046942
3 changed files with 574 additions and 0 deletions
|
@ -460,3 +460,6 @@ mpint* dh_finish(DHstate *dh, mpint *y);
|
|||
|
||||
/* password-based key derivation function 2 (RFC 2898) */
|
||||
void pbkdf2_hmac_sha1(uchar *p, ulong plen, uchar *s, ulong slen, ulong rounds, uchar *d, ulong dlen);
|
||||
|
||||
/* Curve25519 elliptic curve, public key function */
|
||||
void curve25519(uchar mypublic[32], uchar secret[32], uchar basepoint[32]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue