Make crypto lib naming more consistent
This commit is contained in:
@@ -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)
|
||||
@@ -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],
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user