diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-15 13:48:52 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-15 13:48:52 +0100 |
commit | 107c9f195b9a480c58c657efac05947de9043d5f (patch) | |
tree | 168e13b29a5cd87bc0b80e2118be0953c6148e34 /libar2simplified_recommendation.c | |
parent | Add test for salt generation (diff) | |
download | libar2simplified-107c9f195b9a480c58c657efac05947de9043d5f.tar.gz libar2simplified-107c9f195b9a480c58c657efac05947de9043d5f.tar.bz2 libar2simplified-107c9f195b9a480c58c657efac05947de9043d5f.tar.xz |
Add libar2simplified_recommendation1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libar2simplified_recommendation.c | 9 |
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; +} |