aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-06-17 01:19:29 -0400
committerRob Austein <sra@hactrn.net>2015-06-17 01:19:29 -0400
commite6e4a9ae190c666f053932b0026001ff879dbcc8 (patch)
tree31e80333c2aebacc84aa6bb01d57ee71356ba64a /tests
parent7a89eaa086fa534a6a0aac45fa2f5865ef7839ef (diff)
RSA key generation. Compiles, not (yet) tested otherwise.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-rsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-rsa.c b/tests/test-rsa.c
index b415955..707cbe9 100644
--- a/tests/test-rsa.c
+++ b/tests/test-rsa.c
@@ -89,7 +89,8 @@ static int test_crt(const char * const kind, const rsa_tc_t * const tc)
hal_error_t err = HAL_OK;
hal_rsa_key_t key;
- if ((err = hal_rsa_key_load(RSA_PRIVATE, &key, keybuf, sizeof(keybuf),
+ if ((err = hal_rsa_key_load(HAL_RSA_PRIVATE, &key,
+ keybuf, sizeof(keybuf),
tc->n.val, tc->n.len,
tc->e.val, tc->e.len,
tc->d.val, tc->d.len,