From 2914a857418c76e005dee14dcc742e26a5a394fa Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 12 Jun 2026 08:40:54 -0400 Subject: [PATCH] Document PUBLIC_KEY_E error return from wc_edXXX_export_key() --- doc/dox_comments/header_files/ed25519.h | 1 + doc/dox_comments/header_files/ed448.h | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/dox_comments/header_files/ed25519.h b/doc/dox_comments/header_files/ed25519.h index 13443c6fa7..6219c49a91 100644 --- a/doc/dox_comments/header_files/ed25519.h +++ b/doc/dox_comments/header_files/ed25519.h @@ -904,6 +904,7 @@ int wc_ed25519_export_private(const ed25519_key* key, byte* out, word32* outLen) \return BAD_FUNC_ARG Returned if any of the input values evaluate to NULL. \return BUFFER_E Returned if the buffer provided is not large enough to store the key pair. + \return PUBLIC_KEY_E the given key only has a private key present. \param [in] key Pointer to an ed25519_key structure from which to export the key pair. diff --git a/doc/dox_comments/header_files/ed448.h b/doc/dox_comments/header_files/ed448.h index b6fad7a970..3aead5df0f 100644 --- a/doc/dox_comments/header_files/ed448.h +++ b/doc/dox_comments/header_files/ed448.h @@ -791,6 +791,7 @@ int wc_ed448_export_private(const ed448_key* key, byte* out, word32* outLen); \return ECC_BAD_ARG_E Returned if any of the input values evaluate to NULL. \return BUFFER_E Returned if the buffer provided is not large enough to store the key pair. + \return PUBLIC_KEY_E the given key only has a private key present. \param [in] key Pointer to an ed448_key structure from which to export the key pair.