mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-27 04:07:12 +00:00
some cleanups & make depend
This commit is contained in:
parent
4e20f086e3
commit
5ac2c8fa60
4 changed files with 105 additions and 24 deletions
|
@ -1,20 +1,20 @@
|
|||
int ed25519_amd64_64_seckey(unsigned char *sk);
|
||||
int ed25519_amd64_64_seckey_expand(unsigned char *sk,const unsigned char *seed);
|
||||
int ed25519_amd64_64_pubkey(unsigned char *pk,const unsigned char *sk);
|
||||
int ed25519_amd64_64_keygen(unsigned char *pk,unsigned char *sk);
|
||||
int ed25519_amd64_64_sign(
|
||||
int crypto_sign_seckey(unsigned char *sk);
|
||||
int crypto_sign_seckey_expand(unsigned char *sk,const unsigned char *seed);
|
||||
int crypto_sign_pubkey(unsigned char *pk,const unsigned char *sk);
|
||||
int crypto_sign_keypair(unsigned char *pk,unsigned char *sk);
|
||||
int crypto_sign(
|
||||
unsigned char *sm,unsigned long long *smlen,
|
||||
const unsigned char *m,unsigned long long mlen,
|
||||
const unsigned char *sk
|
||||
);
|
||||
int ed25519_amd64_64_open(
|
||||
int crypto_sign_open(
|
||||
unsigned char *m,unsigned long long *mlen,
|
||||
const unsigned char *sm,unsigned long long smlen,
|
||||
const unsigned char *pk
|
||||
);
|
||||
int ed25519_amd64_64_open_batch(
|
||||
int crypto_sign_open_batch(
|
||||
unsigned char* const m[],unsigned long long mlen[],
|
||||
unsigned char* const sm[],const unsigned long long smlen[],
|
||||
unsigned char* const pk[],
|
||||
unsigned char* const pk[],
|
||||
unsigned long long num
|
||||
);
|
||||
|
|
|
@ -57,7 +57,7 @@ void sc25519_mul_shortsc(sc25519 *r, const sc25519 *x, const shortsc25519 *y);
|
|||
/* Convert s into a representation of the form \sum_{i=0}^{63}r[i]2^(4*i)
|
||||
* with r[i] in {-8,...,7}
|
||||
*/
|
||||
void sc25519_window4(signed char r[85], const sc25519 *s);
|
||||
void sc25519_window4(signed char r[64], const sc25519 *s);
|
||||
|
||||
void sc25519_slide(signed char r[256], const sc25519 *s, int swindowsize);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue