Fix ED448 calls to use context and correct variable name

Added basic test of OpenSSL compatability APIs:
  - wolfSSL_ED25519_generate_key
  - wolfSSL_ED25519_sign
  - wolfSSL_ED25519_verify
  - wolfSSL_ED2448_generate_key
  - wolfSSL_ED448_sign
  - wolfSSL_ED448_verify
This commit is contained in:
Sean Parkinson
2020-06-17 09:44:12 +10:00
parent 7c6dccd4a0
commit 6bb73fb25d
4 changed files with 64 additions and 4 deletions

View File

@@ -14031,7 +14031,7 @@ static int SetKeyIdFromPublicKey(Cert *cert, RsaKey *rsakey, ecc_key *eckey,
#ifdef HAVE_ED448
/* ED448 public key */
if (ed448Key != NULL)
bufferSz = SetEd448PublicKey(buffer, ed448Key, 0);
bufferSz = SetEd448PublicKey(buf, ed448Key, 0);
#endif
if (bufferSz <= 0) {