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