Browse Source

add ed25519_make_key() testcase

Steffen Jaeckel 6 years ago
parent
commit
819656a12f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tests/ed25519_test.c

+ 5 - 0
tests/ed25519_test.c

@@ -231,6 +231,11 @@ static int _rfc_8032_7_1_test(void)
 int ed25519_test(void)
 {
    int ret;
+   curve25519_key key;
+
+   if ((ret = ed25519_make_key(&yarrow_prng, find_prng("yarrow"), &key)) != CRYPT_OK) {
+      return ret;
+   }
 
    if (ltc_mp.name == NULL) return CRYPT_NOP;