Merge pull request #6665 from TakayukiMatsuo/jp6472

Update Japanese API comments
pull/6673/head
Hideki Miyazaki 2023-08-04 14:37:33 +09:00 committed by GitHub
commit ae90a9b2c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 66 additions and 65 deletions

View File

@ -1,6 +1,6 @@
/*!
\ingroup RSA
\brief RSAKEY使XMALLOCXFREEXREALLOCwc_rsa_blindingWC_RSASETRNGRNG
\brief RsaKey使XMALLOCXFREEXREALLOCwc_rsa_blindingWC_RSASETRNGRNG
\return 0 使RSA
\return BAD_FUNC_ARGS RSANULL
\param key RSAKEY
@ -21,11 +21,11 @@ int wc_InitRsaKey(RsaKey* key, void* heap);
/*!
\ingroup RSA
\brief RSAKEYIDLENDEVID使使XMALLOCXFREEXREALLOCwc_rsa_blindingWC_RSASETRNGRNG
\brief RsaKeyIDLENDEVID使使XMALLOCXFREEXREALLOCwc_rsa_blindingWC_RSASETRNGRNG
\return 0 使RSA
\return BAD_FUNC_ARGS RSANULL
\return BUFFER_E LENRSA_MAX_ID_LEN
\param key RSAKEY
\param key RsaKey
\param id
\param len
\param heap 使RSA使使
@ -59,7 +59,7 @@ int wc_InitRsaKey_Id(RsaKey* key, unsigned char* id, int len,
\brief RNGWC_RSA_BLINDING
\return 0
\return BAD_FUNC_ARGS RSARNGNULL
\param key RSAKEY
\param key RsaKey
_Example_
\code
ret = wc_InitRsaKey(&key, NULL);
@ -76,7 +76,7 @@ int wc_RsaSetRNG(RsaKey* key, WC_RNG* rng);
/*!
\ingroup RSA
\brief MP_Clear使RSAKEY
\brief MP_Clear使RsaKey
\return 0
_Example_
\code
@ -113,7 +113,7 @@ int wc_FreeRsaKey(RsaKey* key);
\param inLen
\param out
\param outLen
\param key 使RSAKEY
\param key 使RsaKey
_Example_
\code
RsaKey pub;
@ -311,13 +311,14 @@ int wc_RsaPSS_Sign(const byte* in, word32 inLen, byte* out,
/*!
\ingroup RSA
\brief wc_rsa_blindingWC_RSASETRNGRNG
\return Success
\brief WC_RSA_BLINDINGwc_RsaSetRNGRNG
\return Success
\return MEMORY_E
\param in
\param inLen
\param out
\param outLen
\return MP_EXPTMOD_E - fastmath使FP_MAX_BITS2(4096-bit使FP_MAX_BITS8192)
\param in
\param inLen
\param out
\param outLen
\param hash
\param mgf
_Example_
@ -357,7 +358,7 @@ int wc_RsaPSS_Verify(byte* in, word32 inLen, byte* out,
/*!
\ingroup RSA
\brief RSA使wc_rsa_blindingWC_RSASETRNGRNG
\brief RSA使WC_RSA_BLINDINGWC_RSASETRNGRNG
\return >0
\return <0
\param in
@ -407,7 +408,7 @@ int wc_RsaPSS_VerifyInline(byte* in, word32 inLen, byte** out,
RsaKey* key);
/*!
\ingroup RSA
\brief RSA-PSSwc_rsa_blindingWC_RSASETRNGRNG
\brief RSA-PSSWC_RSA_BLINDINGWC_RSASETRNGRNG
\return the PSS
\return MEMORY_E
\param in
@ -469,7 +470,7 @@ int wc_RsaPSS_VerifyCheck(byte* in, word32 inLen,
RsaKey* key);
/*!
\ingroup RSA
\brief RSA-PSSwc_rsa_blindingWC_RSASETRNGRNG
\brief RSA-PSSWC_RSA_BLINDINGWC_RSASETRNGRNG
\return the PSS
\return MEMORY_E
\param in
@ -532,7 +533,7 @@ int wc_RsaPSS_VerifyCheck_ex(byte* in, word32 inLen,
/*!
\ingroup RSA
\brief RSA-PSSwc_rsa_blindingWC_RSASETRNGRNG
\brief RSA-PSSWC_RSA_BLINDINGWC_RSASETRNGRNG
\return the PSS
\param in
\param inLen
@ -590,7 +591,7 @@ int wc_RsaPSS_VerifyCheckInline(byte* in, word32 inLen, byte** out,
RsaKey* key);
/*!
\ingroup RSA
\brief RSA-PSSwc_rsa_blindingWC_RSASETRNGRNG
\brief RSA-PSSWC_RSA_BLINDINGWC_RSASETRNGRNG
\return the PSS
\param in
\param inLen
@ -650,7 +651,7 @@ int wc_RsaPSS_VerifyCheckInline_ex(byte* in, word32 inLen, byte** out,
/*!
\ingroup RSA
\brief PSSwc_rsa_blindingWC_RSASETRNGRNG
\brief PSSWC_RSA_BLINDINGWC_RSASETRNGRNG
\return BAD_PADDING_E PSSNULLINSIGINSZBAD_FUNC_ARG
\return MEMORY_E
\param in
@ -798,7 +799,7 @@ int wc_RsaPrivateKeyDecode(const byte* input, word32* inOutIdx,
/*!
\ingroup RSA
\brief DerRSAResakeyIDX
\brief DerRSARsaKeyIDX
\return 0 DER
\return ASN_PARSE_E ASN.1
\return ASN_OBJECT_ID_E ASN.1IDRSA
@ -807,7 +808,7 @@ int wc_RsaPrivateKeyDecode(const byte* input, word32* inOutIdx,
\return ASN_RSA_KEY_E RSA
\param input DERRSA
\param inOutIdx 0InoutIDX
\param key RSAKEY
\param key RsaKey
_Example_
\code
RsaKey pub;
@ -828,8 +829,8 @@ int wc_RsaPublicKeyDecode(const byte* input, word32* inOutIdx,
/*!
\ingroup RSA
\brief neRSARSAKEY/使
\return 0 RSAKEY
\brief neRSARsaKey/使
\return 0 RsaKey
\return BAD_FUNC_ARG NULL
\return MP_INIT_E MP_INT使
\return ASN_GETINT_E RSAne
@ -861,7 +862,7 @@ int wc_RsaPublicKeyDecodeRaw(const byte* n, word32 nSz,
\return 0
\return BAD_FUNC_ARG NULL - >RSA_PRIVATEINLEN
\return MEMORY_E
\param key RSAKEY
\param key RsaKey
\param output
_Example_
\code
@ -896,7 +897,7 @@ int wc_RsaKeyToDer(RsaKey* key, byte* output, word32 inLen);
\param inLen
\param out MSG
\param outLen MSG
\param key RSA
\param key RsaKey
\param rng WC_RNG
\param type 使WC_RSA_OAEP_PADWC_RSA_PKCSV15_PAD
\param hash 使hash.h
@ -934,7 +935,7 @@ int wc_RsaPublicEncrypt_ex(const byte* in, word32 inLen, byte* out,
\param inLen
\param out MSG
\param outLen MSG
\param key RSA
\param key RsaKey
\param type 使WC_RSA_OAEP_PADWC_RSA_PKCSV15_PAD
\param hash 使hash.h
\param mgf 使
@ -978,7 +979,7 @@ int wc_RsaPrivateDecrypt_ex(const byte* in, word32 inLen,
\param in
\param inLen
\param out "in"
\param key RSA
\param key RsaKey
\param type 使WC_RSA_OAEP_PADWC_RSA_PKCSV15_PAD
\param hash 使hash.h
\param mgf 使
@ -1014,7 +1015,7 @@ int wc_RsaPrivateDecryptInline_ex(byte* in, word32 inLen,
/*!
\ingroup RSA
\brief RSA使ENRSAKEY
\brief RSA使RsaKeyEN
\return 0
\return BAD_FUNC_ARG: NULL
\return RSA_BUFFER_E: en
@ -1052,7 +1053,7 @@ int wc_RsaFlattenPublicKey(RsaKey* key, byte* e, word32* eSz, byte* n,
\return BAD_FUNC_ARG NULL
\return MEMORY_E
\return <0
\param key RSA
\param key RsaKey
\param output NULL
_Example_
\code
@ -1080,7 +1081,7 @@ int wc_RsaKeyToPublicDer(RsaKey* key, byte* output, word32 inLen);
\return BAD_FUNC_ARG NULL
\return MEMORY_E
\return <0
\param key RSA
\param key RsaKey
\param output NULL
_Example_
\code
@ -1104,7 +1105,7 @@ int wc_RsaKeyToPublicDer_ex(RsaKey* key, byte* output, word32 inLen,
/*!
\ingroup RSA
\brief RSAeRSAKEY/使E使65537RSA_MIN_SIZERSA_MAX_SIZEwolfssl_key_gen - 使./configure使-enable-keygen
\brief RSAeRsaKey/使E使65537RSA_MIN_SIZERSA_MAX_SIZEwolfssl_key_gen - 使./configure使-enable-keygen
\return 0 RSA
\return BAD_FUNC_ARG NULLe
\return RNG_FAILURE_E RNG使
@ -1183,7 +1184,7 @@ int wc_RsaSetNonBlock(RsaKey* key, RsaNb* nb);
\brief CPUTFM.cexptModnbinst使wc_rsa_nonblock_time
\return 0
\return BAD_FUNC_ARG NULLWC_RSASETNONBLOCK - > NBNULL
\param key RSA
\param key RsaKey
\param maxBlockUs
_Example_
\code