mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Import ed25519_ref10.h
This commit is contained in:
parent
fd443347cf
commit
b10be7a458
18
src/libsodium/crypto_sign/ed25519/ref10/ed25519_ref10.h
Normal file
18
src/libsodium/crypto_sign/ed25519/ref10/ed25519_ref10.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef ed25519_ref10_H
|
||||
#define ed25519_ref10_H
|
||||
|
||||
void _crypto_sign_ed25519_ref10_hinit(crypto_hash_sha512_state *hs,
|
||||
int prehashed);
|
||||
|
||||
int _crypto_sign_ed25519_detached(unsigned char *sig,
|
||||
unsigned long long *siglen_p,
|
||||
const unsigned char *m,
|
||||
unsigned long long mlen,
|
||||
const unsigned char *sk, int prehashed);
|
||||
|
||||
int _crypto_sign_ed25519_verify_detached(const unsigned char *sig,
|
||||
const unsigned char *m,
|
||||
unsigned long long mlen,
|
||||
const unsigned char *pk,
|
||||
int prehashed);
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user