Add CMakeLists.txt

This commit is contained in:
Alex 2022-01-21 18:46:03 +00:00
parent 8293a1033b
commit 3328c023a9
2 changed files with 24 additions and 0 deletions

16
CMakeLists.txt Normal file
View File

@ -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/)

8
Romulus-M/CMakeLists.txt Normal file
View File

@ -0,0 +1,8 @@
set(SRC
decrypt.c
encrypt.c
romulus_m_reference.c
skinny_reference.c
)
add_library(romulus SHARED ${SRC})