Skip to content

Commit a333e77

Browse files
Merge pull request #6837 from anhu/doc_corr
Minor correction to documentation
2 parents 6968105 + 630d751 commit a333e77

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • doc/dox_comments

doc/dox_comments/header_files-ja/rsa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ int wc_RsaPublicKeyDecodeRaw(const byte* n, word32 nSz,
859859
/*!
860860
\ingroup RSA
861861
\brief この機能はRSAKEYキーをDERフォーマットに変換します。結果は出力に書き込まれ、書き込まれたバイト数を返します。
862-
\return 0 成功
862+
\return >0 成功、書かれたバイト数。
863863
\return BAD_FUNC_ARG キーまたは出力がNULLの場合、またはキー - >タイプがRSA_PRIVATEでない場合、またはINLENが出力バッファに十分な大きさでない場合は返されます。
864864
\return MEMORY_E メモリの割り当て中にエラーが発生した場合に返されます。
865865
\param key 初期化されたRsaKey構造体

doc/dox_comments/header_files/rsa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ int wc_RsaPublicKeyDecodeRaw(const byte* n, word32 nSz,
11041104
\brief This function converts an RsaKey key to DER format. The result is
11051105
written to output and it returns the number of bytes written.
11061106
1107-
\return 0 Success
1107+
\return >0 Success, number of bytes written.
11081108
\return BAD_FUNC_ARG Returned if key or output is null, or if key->type
11091109
is not RSA_PRIVATE, or if inLen isn't large enough for output buffer.
11101110
\return MEMORY_E Returned if there is an error allocating memory.

0 commit comments

Comments
 (0)