mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-27 01:41:40 +00:00
e72fd489ba
* Initial ntruhps2048509 implementation * Turn compile-time #if's into runtime if's * Test vector hash * Resolve linter complaints * Apply astyle * Address Windows compiler complaints * Address more Windows compiler complaints * More Windows compiler complaints * Apply astyle * Add -Wmissing-prototypes Co-Authored-By: dstebila <dstebila@users.noreply.github.com> * Fix -Wmissing-prototypes errors, update LICENSE
17 lines
573 B
C
Executable File
17 lines
573 B
C
Executable File
#ifndef SAMPLE_H
|
|
#define SAMPLE_H
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include "params.h"
|
|
#include "poly.h"
|
|
|
|
void PQCLEAN_NTRUHPS2048509_CLEAN_sample_fg(poly *f, poly *g, const unsigned char uniformbytes[NTRU_SAMPLE_FG_BYTES]);
|
|
void PQCLEAN_NTRUHPS2048509_CLEAN_sample_rm(poly *r, poly *m, const unsigned char uniformbytes[NTRU_SAMPLE_RM_BYTES]);
|
|
|
|
void PQCLEAN_NTRUHPS2048509_CLEAN_sample_iid(poly *r, const unsigned char uniformbytes[NTRU_SAMPLE_IID_BYTES]);
|
|
|
|
void PQCLEAN_NTRUHPS2048509_CLEAN_sample_fixed_type(poly *r, const unsigned char uniformbytes[NTRU_SAMPLE_FT_BYTES]);
|
|
|
|
#endif
|