1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/crypto/libntrup/src/ref/small.h
2018-10-23 07:29:37 -04:00

29 lines
710 B
C

#ifndef small_h
#define small_h
#include <sodium/crypto_int8.h>
#include <sodium/crypto_int32.h>
typedef crypto_int8 small;
#define small_encode crypto_kem_sntrup4591761_ref_small_encode
extern void
small_encode(unsigned char *, const small *);
#define small_decode crypto_kem_sntrup4591761_ref_small_decode
extern void
small_decode(small *, const unsigned char *);
#define small_random32 crypto_kem_sntrup4591761_ref_small_random32
extern crypto_int32
small_random32(void);
#define small_random crypto_kem_sntrup4591761_ref_small_random
extern void
small_random(small *);
#define small_random_weightw crypto_kem_sntrup4591761_ref_small_random_weightw
extern void
small_random_weightw(small *);
#endif