From e6e4a9ae190c666f053932b0026001ff879dbcc8 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 17 Jun 2015 01:19:29 -0400 Subject: RSA key generation. Compiles, not (yet) tested otherwise. --- tests/test-rsa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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, -- cgit v1.2.3