clarify description

pull/7830/head
Takashi Kojo 2024-08-05 05:59:36 +09:00
parent 00e42151ca
commit 8368a32e7e
2 changed files with 6 additions and 6 deletions

View File

@ -3,8 +3,8 @@
\brief HMACHMAC
\return 0 HMAC
\return BAD_FUNC_ARG .MD5SHASHA256SHA384SHA3-224SHA3-256SHA3-384SHA3-512
\return MEMORY_E 使
\return HMAC_MIN_KEYLEN_E FIPS使FIPS
\return MEMORY_E 使
\return HMAC_MIN_KEYLEN_E FIPS使FIPS(14)
\param hmac HMAC
\param type HMAC使.MD5SHASHA256SHA384SHA3-224SHA3-256SHA3-384SHA3-512
\param key HMAC
@ -25,7 +25,7 @@ int wc_HmacSetKey(Hmac* hmac, int type, const byte* key, word32 keySz);
\ingroup HMAC
\brief HMAC使HMACWC_HMACSETKEYwc_hmacupdatewc_hmacfinal
\return 0
\return MEMORY_E 使
\return MEMORY_E 使
\param hmac HMAC
\param msg
_Example_

View File

@ -8,9 +8,9 @@
\return BAD_FUNC_ARG Returned if the input type is invalid (see type param)
\return MEMORY_E Returned if there is an error allocating memory for the
structure to use for hashing
\return HMAC_MIN_KEYLEN_E May be returned when using a FIPS implementation
\return HMAC_MIN_KEYLEN_E Returned when using a FIPS implementation
and the key length specified is shorter than the minimum acceptable
FIPS standard
FIPS standard of 14 bytes
\param hmac pointer to the Hmac object to initialize
\param type type specifying which encryption method the Hmac object