From aa80ff50bf1467ed522a127ffb724864ac5d6d05 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Fri, 3 Jun 2016 14:45:18 -0700 Subject: [PATCH] crypto/newhope: add OPENSSL_EXPORT to functions used by tests. Change-Id: Ie6701d6ea809f5c590f0773cb4b733a208553879 --- include/openssl/newhope.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openssl/newhope.h b/include/openssl/newhope.h index 657b0c3e..a17324aa 100644 --- a/include/openssl/newhope.h +++ b/include/openssl/newhope.h @@ -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