aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/newhope
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/newhope')
-rw-r--r--src/lib/pubkey/newhope/newhope.cpp1
-rw-r--r--src/lib/pubkey/newhope/newhope.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/pubkey/newhope/newhope.cpp b/src/lib/pubkey/newhope/newhope.cpp
index 69ea3d6d3..b5d841144 100644
--- a/src/lib/pubkey/newhope/newhope.cpp
+++ b/src/lib/pubkey/newhope/newhope.cpp
@@ -11,6 +11,7 @@
#include <botan/newhope.h>
#include <botan/hash.h>
+#include <botan/rng.h>
#include <botan/stream_cipher.h>
#include <botan/loadstor.h>
diff --git a/src/lib/pubkey/newhope/newhope.h b/src/lib/pubkey/newhope/newhope.h
index 12b7f2e48..070652db9 100644
--- a/src/lib/pubkey/newhope/newhope.h
+++ b/src/lib/pubkey/newhope/newhope.h
@@ -12,10 +12,12 @@
#ifndef BOTAN_NEWHOPE_H_
#define BOTAN_NEWHOPE_H_
-#include <botan/rng.h>
+#include <botan/mem_ops.h>
namespace Botan {
+class RandomNumberGenerator;
+
/*
* WARNING: This API is preliminary and will change
* Currently pubkey.h does not support a 2-phase KEM scheme of