mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-23 16:08:59 +00:00
56a0fcb135
* Copied qTESLA-p-I round2 (2019-08-19) code * Code compiles, NIST-KAT works * Included detached signature API * Generated testvectors * Fixed name in api.h * code style * Fixed error in Makefile * Passing pytest * Fixing types (uint8_t bytes and size_t indices) * Replaced SHAKE with SHAKE128 where necessary * Fixed bug: (signed) integer overflow * Added qTESLA-p-III * Code is now independent of machine endianness * repaired Microsoft makefile
14 lines
315 B
C
14 lines
315 B
C
#ifndef PQCLEAN_QTESLAPI_CLEAN_GAUSS_H
|
|
#define PQCLEAN_QTESLAPI_CLEAN_GAUSS_H
|
|
|
|
#include "config.h"
|
|
#include "params.h"
|
|
#include "poly.h"
|
|
#include <stdint.h>
|
|
|
|
#define CHUNK_SIZE 512 // Fix chunk size for sampling
|
|
|
|
void PQCLEAN_QTESLAPI_CLEAN_sample_gauss_poly(poly z, const uint8_t *seed, uint16_t nonce);
|
|
|
|
#endif
|