mirror of
https://github.com/polhenarejos/pico-openpgp.git
synced 2026-05-28 17:11:24 +02:00
Migrate to the new PIN KDF system.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
option(OPENPGP_TEST_INIT_LEGACY_PIN "Bootstrap legacy PIN/DEK format for migration tests" OFF)
|
||||
|
||||
set(USB_VID 0x2E8A)
|
||||
set(USB_PID 0x10FF)
|
||||
|
||||
@@ -88,6 +90,9 @@ set(INCLUDES ${INCLUDES}
|
||||
if(NOT ESP_PLATFORM)
|
||||
target_sources(pico_openpgp PUBLIC ${SOURCES})
|
||||
target_include_directories(pico_openpgp PUBLIC ${INCLUDES})
|
||||
if(OPENPGP_TEST_INIT_LEGACY_PIN)
|
||||
target_compile_definitions(pico_openpgp PRIVATE OPENPGP_TEST_INIT_LEGACY_PIN=1)
|
||||
endif()
|
||||
|
||||
set(COMMON_COMPILE_OPTIONS
|
||||
-Wall
|
||||
|
||||
Reference in New Issue
Block a user