Minor correction to documentation

This commit is contained in:
Anthony Hu 2023-10-04 16:51:55 -04:00
parent 88d25036a0
commit 630d75153f
2 changed files with 2 additions and 2 deletions

View File

@ -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構造体

View File

@ -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.