test Ed448 against test vectors

This commit is contained in:
Mark Andrews
2019-05-29 15:32:16 +10:00
parent 5da97eeea6
commit 20f2d9b41b
11 changed files with 70 additions and 20 deletions

View File

@@ -805,14 +805,13 @@ AC_COMPILE_IFELSE(
[AC_MSG_RESULT([no])])
AC_MSG_CHECKING([for Ed448 support])
AC_MSG_RESULT([broken])
#AC_COMPILE_IFELSE(
# [AC_LANG_PROGRAM([[#include <openssl/evp.h>
# #include <openssl/ec.h>]],
# [[EC_KEY *key = EC_KEY_new_by_curve_name(NID_ED448);]])],
# [AC_DEFINE([HAVE_OPENSSL_ED448], [1], [define if OpenSSL supports Ed448])
# AC_MSG_RESULT([yes])],
# [AC_MSG_RESULT([no])])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <openssl/evp.h>
#include <openssl/ec.h>]],
[[EC_KEY *key = EC_KEY_new_by_curve_name(NID_ED448);]])],
[AC_DEFINE([HAVE_OPENSSL_ED448], [1], [define if OpenSSL supports Ed448])
AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])])
#
# Check for OpenSSL SHA-1 support