Skip to content

Commit 7cf8693

Browse files
update function comments
1 parent 957b58e commit 7cf8693

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
@@ -124,6 +124,7 @@ static void wc_xmss_digest_free(XmssState* state)
124124
*
125125
* @param [in, out] state XMSS/MT state including digest and parameters.
126126
* @param [in] params Parameters for key.
127+
* @param [in] heap Dynamic memory hint.
127128
* @return 0 on success.
128129
* @return NOT_COMPILED_IN when digest algorithm not supported.
129130
* @return Other negative when digest algorithm initialization failed.
@@ -810,7 +811,7 @@ static WC_INLINE int wc_xmsskey_signupdate(XmssKey* key, byte* sig,
810811
* Call this before setting the parms of an XMSS key.
811812
*
812813
* @param [in] key The XMSS key to init.
813-
* @param [in] heap Unused.
814+
* @param [in] heap Dynamic memory hint used by subsequent allocations.
814815
* @param [in] devId Unused.
815816
*
816817
* @return 0 on success.

0 commit comments

Comments
 (0)