From 3328c023a97f2b71c927e96c15fe27f0aa97e7d7 Mon Sep 17 00:00:00 2001 From: Alex Kerr Date: Fri, 21 Jan 2022 18:46:03 +0000 Subject: [PATCH] Add CMakeLists.txt --- CMakeLists.txt | 16 ++++++++++++++++ Romulus-M/CMakeLists.txt | 8 ++++++++ 2 files changed, 24 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 Romulus-M/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..e47e3e6 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 3.8...3.13) + +if(${CMAKE_VERSION} VERSION_LESS 3.12) + cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}) +else() + cmake_policy(VERSION 3.13) +endif() + +project(romulus + VERSION 1.0 + DESCRIPTION "An authenticated encryption with associated data (AEAD) scheme based on a tweakable block cipher (TBC) Skinny" + LANGUAGES C +) + +set(CMAKE_POSITION_INDEPENDENT_CODE on) +add_subdirectory(Romulus-M/) \ No newline at end of file diff --git a/Romulus-M/CMakeLists.txt b/Romulus-M/CMakeLists.txt new file mode 100644 index 0000000..c50b687 --- /dev/null +++ b/Romulus-M/CMakeLists.txt @@ -0,0 +1,8 @@ +set(SRC + decrypt.c + encrypt.c + romulus_m_reference.c + skinny_reference.c +) + +add_library(romulus SHARED ${SRC}) \ No newline at end of file