added keys.h, sleep_crypto.h; worked sleep.h, sleep_tree.c, sleep_crypto.c
This commit is contained in:
1 parent
e51f5c7bc8
commit
23c037e02e
12 files changed
+126
-1
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
#ifndef KEYS_H
|
||||
#define KEYS_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define SLEEP_PUB_KEY_BYTES 32
|
||||
#define SLEEP_SECRET_KEY_BYTES 64
|
||||
#define SLEEP_SIGNATURE_BYES 64
|
||||
#define SLEEP_BLAKE2B_BYES 32
|
||||
|
||||
typedef struct {
|
||||
uint8_t pubkey[SLEEP_PUB_KEY_BYTES];
|
||||
uint8_t seckey[SLEEP_SECRET_KEY_BYES];
|
||||
} sleep_keypair_t;
|
||||
|
||||
|
||||
#endif /* KEYS_H */
|
||||
Reference in new issue
Block a user