diff options
author | Paul Selkirk <paul@psgd.org> | 2016-06-14 17:25:29 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-06-14 17:25:29 -0400 |
commit | 97c3a85d32893ec5f17ecd807a45bac935e42dd5 (patch) | |
tree | cb90ffcc07e09faf4b37ca0759fda2f65aa36714 /rsa.c | |
parent | a20af9980516d516f0403bb80551db8d283aa383 (diff) |
Add support for ModExpA7
Diffstat (limited to 'rsa.c')
-rw-r--r-- | rsa.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -197,7 +197,8 @@ static hal_error_t modexp(const hal_core_t *core, { hal_error_t err = HAL_OK; - if ((err = hal_core_check_name(&core, MODEXPS6_NAME)) != HAL_OK) + if (((err = hal_core_check_name(&core, MODEXPS6_NAME)) != HAL_OK) && + ((err = hal_core_check_name(&core, MODEXPA7_NAME)) != HAL_OK)) return err; assert(msg != NULL && exp != NULL && mod != NULL && res != NULL); |