Skip to content

Commit 861f9b4

Browse files
update function comments
1 parent 9afd8ac commit 861f9b4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wolfcrypt/src/wc_xmss.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ static void wc_xmss_digest_free(XmssState* state)
119119
*
120120
* @param [in, out] state XMSS/MT state including digest and parameters.
121121
* @param [in] params Parameters for key.
122+
* @param [in] heap Dynamic memory hint.
122123
* @return 0 on success.
123124
* @return NOT_COMPILED_IN when digest algorithm not supported.
124125
* @return Other negative when digest algorithm initialization failed.
@@ -805,7 +806,7 @@ static WC_INLINE int wc_xmsskey_signupdate(XmssKey* key, byte* sig,
805806
* Call this before setting the parms of an XMSS key.
806807
*
807808
* @param [in] key The XMSS key to init.
808-
* @param [in] heap Unused.
809+
* @param [in] heap Dynamic memory hint used by subsequent allocations.
809810
* @param [in] devId Unused.
810811
*
811812
* @return 0 on success.

0 commit comments

Comments
 (0)