blob: 06c3c41a81b778576fdb1d574fb2d2a4fcc90e3c [file] [log] [blame]
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
otbn_rsa_test_lib = declare_dependency(
link_with: static_library(
'otbn_rsa_test_lib',
sources: ['otbn_rsa_test.c'],
dependencies: [
sw_lib_testing_entropy_testutils,
sw_lib_runtime_otbn,
sw_lib_runtime_log,
sw_lib_runtime_ibex,
top_earlgrey,
sw_otbn['rsa']['rv32embed_dependency'],
],
),
)
sw_tests += {
'otbn_rsa_test': {
'library': otbn_rsa_test_lib
}
}
otbn_ecdsa_p256_test_lib = declare_dependency(
link_with: static_library(
'otbn_ecdsa_p256_test_lib',
sources: ['otbn_ecdsa_p256_test.c'],
dependencies: [
sw_lib_testing_entropy_testutils,
sw_lib_runtime_otbn,
sw_lib_runtime_log,
sw_lib_runtime_ibex,
top_earlgrey,
sw_otbn['p256_ecdsa']['rv32embed_dependency'],
],
),
)
sw_tests += {
'otbn_ecdsa_p256_test': {
'library': otbn_ecdsa_p256_test_lib
}
}
otbn_randomness_test_lib = declare_dependency(
link_with: static_library(
'otbn_randomness_test_lib',
sources: ['otbn_randomness_test.c'],
dependencies: [
sw_lib_testing_entropy_testutils,
sw_lib_runtime_otbn,
sw_lib_runtime_log,
sw_lib_runtime_ibex,
top_earlgrey,
sw_otbn['randomness']['rv32embed_dependency'],
],
),
)
sw_tests += {
'otbn_randomness_test': {
'library': otbn_randomness_test_lib
}
}