Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
namespace.h
Go to the documentation of this file.
1#ifndef _SECSIDH_NAMESPACE_
2#define _SECSIDH_NAMESPACE_
3
4#ifndef NAMESPACE_NAME
5#error no namespace
6#endif
7
8#ifdef CTIDH
9# define CONCAT(A, B) secsidh_ctidh_internal_##A##_##B
10# define APICONCAT(A, B) secsidh_CTIDH##A##_##B
11#else
12# define CONCAT(A, B) secsidh_csidh_internal_##A##_##B
13# define APICONCAT(A, B) secsidh_CSIDH##A##_##B
14#endif
15
16#define COMCONCAT(A, B) secsidh_internal_##A##_##B
17
18#define CONCAT2(A, B) CONCAT(A, B)
19#define NS(fname) CONCAT2(NAMESPACE_NAME, fname)
20
21#define CONCATCOM2(A, B) COMCONCAT(A, B)
22#define COMMON(fname) CONCATCOM2(NAMESPACE_NAME, fname)
23
24#define APICONCAT2(A, B) APICONCAT(A, B)
25#define NSAPI(fname) APICONCAT2(NAMESPACE_NAME, fname)
26
27#endif