18 lines
319 B
C
18 lines
319 B
C
#ifndef KEYS_H
|
|
#define KEYS_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define SLEEP_PUB_KEY_BYTES 32
|
|
#define SLEEP_SECRET_KEY_BYTES 64
|
|
#define SLEEP_SIGNATURE_BYTES 64
|
|
#define SLEEP_BLAKE2B_BYTES 32
|
|
|
|
typedef struct {
|
|
uint8_t pubkey[SLEEP_PUB_KEY_BYTES];
|
|
uint8_t seckey[SLEEP_SECRET_KEY_BYTES];
|
|
} sleep_keypair_t;
|
|
|
|
|
|
#endif /* KEYS_H */
|