Skip to content

Commit

Permalink
cracen: Fix cmake identation
Browse files Browse the repository at this point in the history
Fixes indentation in cmake to use 2 spaces.

Signed-off-by: Vidar Lillebø <[email protected]>
  • Loading branch information
vili-nordic committed May 28, 2024
1 parent fc4927e commit 2ba3a12
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions subsys/nrf_security/src/drivers/cracen/cracenpsa/cracenpsa.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# This directory contains C sources for the CRACEN PSA crypto driver

list(APPEND cracen_driver_include_dirs
${CMAKE_CURRENT_LIST_DIR}/include
${CMAKE_CURRENT_LIST_DIR}/include
)

list(APPEND cracen_driver_sources
Expand All @@ -24,79 +24,79 @@ list(APPEND cracen_driver_sources

if(CONFIG_CRACEN_LIB_KMU)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/lib_kmu.c
${CMAKE_CURRENT_LIST_DIR}/src/lib_kmu.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_AEAD_DRIVER)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/aead.c
${CMAKE_CURRENT_LIST_DIR}/src/aead.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_ASYMMETRIC_ENCRYPTION_DRIVER)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/asymmetric.c
${CMAKE_CURRENT_LIST_DIR}/src/asymmetric.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_ASYMMETRIC_SIGNATURE_DRIVER)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/sign.c
)
${CMAKE_CURRENT_LIST_DIR}/src/sign.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_HASH_DRIVER)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/hash.c
)
${CMAKE_CURRENT_LIST_DIR}/src/hash.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_MAC_DRIVER)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/mac.c
)
${CMAKE_CURRENT_LIST_DIR}/src/mac.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_KEY_MANAGEMENT_DRIVER OR CONFIG_PSA_NEED_CRACEN_KMU_DRIVER)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/key_management.c
)
${CMAKE_CURRENT_LIST_DIR}/src/key_management.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_PAKE_DRIVER)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/pake.c
${CMAKE_CURRENT_LIST_DIR}/src/spake2p.c
)
${CMAKE_CURRENT_LIST_DIR}/src/pake.c
${CMAKE_CURRENT_LIST_DIR}/src/spake2p.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_ECJPAKE_SECP_R1_256)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/jpake.c
)
${CMAKE_CURRENT_LIST_DIR}/src/jpake.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_SRP_6)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/srp.c
)
${CMAKE_CURRENT_LIST_DIR}/src/srp.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_KMU_DRIVER)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/kmu.c
)
${CMAKE_CURRENT_LIST_DIR}/src/kmu.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_KEY_AGREEMENT_DRIVER OR CONFIG_PSA_NEED_CRACEN_KEY_DERIVATION_DRIVER)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/key_derivation.c
${CMAKE_CURRENT_LIST_DIR}/src/key_derivation.c
)
endif()

if(CONFIG_PSA_NEED_CRACEN_PLATFORM_KEYS)
list(APPEND cracen_driver_sources
${CMAKE_CURRENT_LIST_DIR}/src/platform_keys/platform_keys.c
${CMAKE_CURRENT_LIST_DIR}/src/platform_keys/platform_keys.c
)
endif()

0 comments on commit 2ba3a12

Please sign in to comment.