aboutsummaryrefslogtreecommitdiffstats
path: root/libar2simplified_recommendation.c
diff options
context:
space:
mode:
Diffstat (limited to 'libar2simplified_recommendation.c')
-rw-r--r--libar2simplified_recommendation.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libar2simplified_recommendation.c b/libar2simplified_recommendation.c
new file mode 100644
index 0000000..23f7060
--- /dev/null
+++ b/libar2simplified_recommendation.c
@@ -0,0 +1,9 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+
+const char *
+libar2simplified_recommendation(int side_channel_free)
+{
+ return side_channel_free ? RECOMMENDATION_SIDE_CHANNEL_FREE_ENVIRONMENT : RECOMMENDATION_SIDE_CHANNEL_ENVIRONMENT;
+}