mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
508 B
22 lines
508 B
#ifndef ED25519_REF10_H__ |
|
#define ED25519_REF10_H__ |
|
|
|
/** |
|
* Generate a public key from a given private key. |
|
*/ |
|
int ed25519_ref10_pubkey(unsigned char* pk, const unsigned char* sk); |
|
|
|
int ed25519_ref10_open( |
|
const unsigned char* sig, |
|
const unsigned char* m, unsigned long long mlen, |
|
const unsigned char*pk |
|
); |
|
|
|
int ed25519_ref10_sign( |
|
unsigned char* sig, |
|
const unsigned char* m, unsigned long long mlen, |
|
const unsigned char* sk, const unsigned char* pk |
|
); |
|
|
|
|
|
#endif // ED25519_REF10_H__
|
|
|