From 630d75153f619063ab96ab23351697faa40c5013 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Wed, 4 Oct 2023 16:51:55 -0400 Subject: [PATCH] Minor correction to documentation --- doc/dox_comments/header_files-ja/rsa.h | 2 +- doc/dox_comments/header_files/rsa.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dox_comments/header_files-ja/rsa.h b/doc/dox_comments/header_files-ja/rsa.h index 4b4e4a39f..99d4e236c 100644 --- a/doc/dox_comments/header_files-ja/rsa.h +++ b/doc/dox_comments/header_files-ja/rsa.h @@ -859,7 +859,7 @@ int wc_RsaPublicKeyDecodeRaw(const byte* n, word32 nSz, /*! \ingroup RSA \brief この機能はRSAKEYキーをDERフォーマットに変換します。結果は出力に書き込まれ、書き込まれたバイト数を返します。 - \return 0 成功 + \return >0 成功、書かれたバイト数。 \return BAD_FUNC_ARG キーまたは出力がNULLの場合、またはキー - >タイプがRSA_PRIVATEでない場合、またはINLENが出力バッファに十分な大きさでない場合は返されます。 \return MEMORY_E メモリの割り当て中にエラーが発生した場合に返されます。 \param key 初期化されたRsaKey構造体 diff --git a/doc/dox_comments/header_files/rsa.h b/doc/dox_comments/header_files/rsa.h index 4b43a2991..6e8c75268 100644 --- a/doc/dox_comments/header_files/rsa.h +++ b/doc/dox_comments/header_files/rsa.h @@ -1104,7 +1104,7 @@ int wc_RsaPublicKeyDecodeRaw(const byte* n, word32 nSz, \brief This function converts an RsaKey key to DER format. The result is written to output and it returns the number of bytes written. - \return 0 Success + \return >0 Success, number of bytes written. \return BAD_FUNC_ARG Returned if key or output is null, or if key->type is not RSA_PRIVATE, or if inLen isn't large enough for output buffer. \return MEMORY_E Returned if there is an error allocating memory.