-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefs.h
More file actions
24 lines (16 loc) · 788 Bytes
/
defs.h
File metadata and controls
24 lines (16 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef DEFS_H
#define DEFS_H
#include <stdint.h>
#include <stdlib.h>
typedef int8_t crypto_int8;
typedef uint8_t crypto_uint8;
typedef int16_t crypto_int16;
typedef uint16_t crypto_uint16;
typedef int32_t crypto_int32;
typedef uint32_t crypto_uint32;
int crypto_sign_ed448_keypair(unsigned char *pk, unsigned char *sk);
int crypto_sign_ed448_detached(unsigned char *sign, unsigned long long *smlen, const unsigned char *m, unsigned long long mlen, const unsigned char *sk);
int crypto_sign_ed448_open_detached(const unsigned char *m, unsigned long long mlen, const unsigned char *sign, const unsigned char *pk);
int crypto_sign_ed448_derive_pk(unsigned char *pk, const unsigned char *sk);
int crypto_verify_57(const unsigned char *x, const unsigned char *y);
#endif /* DEFS_H */