Add CMakeLists.txt
This commit is contained in:
parent
8293a1033b
commit
3328c023a9
|
@ -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/)
|
|
@ -0,0 +1,8 @@
|
||||||
|
set(SRC
|
||||||
|
decrypt.c
|
||||||
|
encrypt.c
|
||||||
|
romulus_m_reference.c
|
||||||
|
skinny_reference.c
|
||||||
|
)
|
||||||
|
|
||||||
|
add_library(romulus SHARED ${SRC})
|
Loading…
Reference in New Issue