2019-06-18 14:40:24 +01:00
|
|
|
#ifndef POLY_H
|
|
|
|
#define POLY_H
|
2019-06-18 10:00:33 +01:00
|
|
|
#include "SABER_params.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-10-16 01:00:04 +01:00
|
|
|
void PQCLEAN_SABER_CLEAN_MatrixVectorMul(uint16_t res[SABER_L][SABER_N], const uint16_t a[SABER_L][SABER_L][SABER_N], const uint16_t s[SABER_L][SABER_N], int16_t transpose);
|
|
|
|
|
|
|
|
void PQCLEAN_SABER_CLEAN_InnerProd(uint16_t res[SABER_N], const uint16_t b[SABER_L][SABER_N], const uint16_t s[SABER_L][SABER_N]);
|
|
|
|
|
|
|
|
void PQCLEAN_SABER_CLEAN_GenMatrix(uint16_t a[SABER_L][SABER_L][SABER_N], const uint8_t seed[SABER_SEEDBYTES]);
|
2019-06-18 10:00:33 +01:00
|
|
|
|
2020-10-16 01:00:04 +01:00
|
|
|
void PQCLEAN_SABER_CLEAN_GenSecret(uint16_t s[SABER_L][SABER_N], const uint8_t seed[SABER_NOISE_SEEDBYTES]);
|
2019-06-18 10:00:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|