Make crypto lib naming more consistent

This commit is contained in:
2020-02-27 15:59:29 -05:00
parent 8cca9a2930
commit aff4be3a65
10 changed files with 19 additions and 19 deletions

View File

@@ -38,8 +38,8 @@ foreach(NAME ${PL_NAMES})
${CMAKE_CURRENT_BINARY_DIR}/bin/payload_${NAME}.bin)
endforeach(NAME)
add_library(crypto_dev ../crypto/aes_sw_impl.c)
target_compile_definitions(crypto_dev PRIVATE CRYPTO_DEV)
add_library(dev_crypto ../crypto/aes_sw_impl.c)
target_compile_definitions(dev_crypto PRIVATE DEV_CRYPTO)
target_link_libraries(payload_aes_sw_bern crypto_dev)
target_link_libraries(payload_aes_sw_corr crypto_dev)
target_link_libraries(payload_aes_sw_bern dev_crypto)
target_link_libraries(payload_aes_sw_corr dev_crypto)

View File

@@ -1,7 +1,7 @@
#include "bootrom_func.h"
#include "bootrom_type.h"
#include "cacheutil.h"
#include "crypto_dev.h"
#include "dev_crypto.h"
PAYLOAD_SECTION
uint64_t entry_sync(unsigned char *msg, unsigned int msg_len, unsigned char key[16],

View File

@@ -1,6 +1,6 @@
#include "bootrom_func.h"
#include "dev_util.h"
#include "crypto_dev.h"
#include "dev_crypto.h"
PAYLOAD_SECTION
void entry_sync()