crypto/newhope: add OPENSSL_EXPORT to functions used by tests.
Change-Id: Ie6701d6ea809f5c590f0773cb4b733a208553879
This commit is contained in:
parent
a34bd8e38c
commit
aa80ff50bf
@ -91,11 +91,11 @@ OPENSSL_EXPORT int NEWHOPE_finish(uint8_t out_key[SHA256_DIGEST_LENGTH],
|
||||
|
||||
/* NEWHOPE_POLY_noise sets |r| to a random polynomial where the coefficients are
|
||||
* sampled from the noise distribution. */
|
||||
void NEWHOPE_POLY_noise(NEWHOPE_POLY* r);
|
||||
OPENSSL_EXPORT void NEWHOPE_POLY_noise(NEWHOPE_POLY* r);
|
||||
|
||||
/* NEWHOPE_POLY_noise_ntt sets |r| to an output of NEWHOPE_POLY_noise, and then
|
||||
* applies NTT(r) in-place. */
|
||||
void NEWHOPE_POLY_noise_ntt(NEWHOPE_POLY* r);
|
||||
OPENSSL_EXPORT void NEWHOPE_POLY_noise_ntt(NEWHOPE_POLY* r);
|
||||
|
||||
/* NEWHOPE_offer_computation is the work of |NEWHOPE_offer|, less the encoding
|
||||
* parts. The inputs are the noise polynomials |s| and |e|, and random
|
||||
|
Loading…
Reference in New Issue
Block a user