Unverified Commit 1e343b97 authored by Sofia Celi's avatar Sofia Celi

Include the right headers for C++

parent f4226bc5
......@@ -18,6 +18,6 @@
#ifndef __DECAF_CRYPTO_HXX__
#define __DECAF_CRYPTO_HXX__ 1
#include <decaf/crypto_448.hxx>
#include <decaf/point_448.hxx>
#endif /* __DECAF_CRYPTO_HXX__ */
......@@ -15,7 +15,7 @@
#ifndef __DECAF_HXX__
#define __DECAF_HXX__ 1
#include <decaf/point_448.hxx>
#include <decaf/ed448.hxx>
/** Namespace for all C++ decaf objects. */
namespace decaf {
......
......@@ -6,5 +6,5 @@
*/
$("\n".join([
"#include <decaf/crypto_%s.hxx>" % g for g in sorted([c["bits"] for _,c in curve.items()])
"#include <decaf/point_%s.hxx>" % g for g in sorted([c["bits"] for _,c in curve.items()])
]))
/** Master header for Decaf library, C++ version. */
$("\n".join([
"#include <decaf/point_%s.hxx>" % g for g in sorted([c["bits"] for _,c in curve.items()])
"#include <decaf/ed%s.hxx>" % g for g in sorted([c["bits"] for _,c in curve.items()])
]))
/** Namespace for all C++ decaf objects. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment