aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-06-14 17:25:29 -0400
committerPaul Selkirk <paul@psgd.org>2016-06-14 17:25:29 -0400
commit97c3a85d32893ec5f17ecd807a45bac935e42dd5 (patch)
treecb90ffcc07e09faf4b37ca0759fda2f65aa36714 /tests
parenta20af9980516d516f0403bb80551db8d283aa383 (diff)
Add support for ModExpA7
Diffstat (limited to 'tests')
-rw-r--r--tests/test-rsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-rsa.c b/tests/test-rsa.c
index 1fc516b..60fe2a5 100644
--- a/tests/test-rsa.c
+++ b/tests/test-rsa.c
@@ -299,6 +299,8 @@ static int test_rsa(const hal_core_t *core, const rsa_tc_t * const tc)
int main(int argc, char *argv[])
{
const hal_core_t *core = hal_core_find(MODEXPS6_NAME, NULL);
+ if (core == NULL)
+ core = hal_core_find(MODEXPA7_NAME, NULL);
const hal_core_info_t *core_info = hal_core_info(core);
if (core_info != NULL)