mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
872 B
C
36 lines
872 B
C
#ifndef rq_h
|
|
#define rq_h
|
|
|
|
#include "modq.h"
|
|
#include "small.h"
|
|
|
|
#define rq_encode crypto_kem_sntrup4591761_ref_rq_encode
|
|
extern void
|
|
rq_encode(unsigned char *, const modq *);
|
|
|
|
#define rq_decode crypto_kem_sntrup4591761_ref_rq_decode
|
|
extern void
|
|
rq_decode(modq *, const unsigned char *);
|
|
|
|
#define rq_encoderounded crypto_kem_sntrup4591761_ref_rq_encoderounded
|
|
extern void
|
|
rq_encoderounded(unsigned char *, const modq *);
|
|
|
|
#define rq_decoderounded crypto_kem_sntrup4591761_ref_rq_decoderounded
|
|
extern void
|
|
rq_decoderounded(modq *, const unsigned char *);
|
|
|
|
#define rq_round3 crypto_kem_sntrup4591761_ref_rq_round
|
|
extern void
|
|
rq_round3(modq *, const modq *);
|
|
|
|
#define rq_mult crypto_kem_sntrup4591761_ref_rq_mult
|
|
extern void
|
|
rq_mult(modq *, const modq *, const small *);
|
|
|
|
#define rq_recip3 crypto_kem_sntrup4591761_ref_rq_recip3
|
|
int
|
|
rq_recip3(modq *, const small *);
|
|
|
|
#endif
|