Skip to content

Commit

Permalink
move XMSS_free to internal of XMSS
Browse files Browse the repository at this point in the history
  • Loading branch information
ducnguyen-sb committed Oct 22, 2023
1 parent 8d47af8 commit b4c7ca0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions src/sig_stfl/sig_stfl.h
Original file line number Diff line number Diff line change
Expand Up @@ -435,14 +435,6 @@ OQS_API void OQS_SIG_STFL_free(OQS_SIG_STFL *sig);
*/
OQS_API OQS_SIG_STFL_SECRET_KEY *OQS_SIG_STFL_SECRET_KEY_new(const char *method_name);

/**
* Frees an OQS_SIG_STFL_SECRET_KEY **inner** data that was constructed by OQS_SECRET_KEY_new.
*
* @param[in] sig The OQS_SIG_STFL_SECRET_KEY object to free.
* @return OQS_SUCCESS if successful, or OQS_ERROR if the object could not be freed.
*/
void OQS_SECRET_KEY_XMSS_free(OQS_SIG_STFL_SECRET_KEY *sk);

/**
* Frees an OQS_SIG_STFL_SECRET_KEY object that was constructed by OQS_SECRET_KEY_new.
*
Expand Down
1 change: 0 additions & 1 deletion src/sig_stfl/xmss/sig_stfl_xmss.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#endif

#define XMSS_OID_LEN 4
void OQS_SECRET_KEY_XMSS_free(OQS_SIG_STFL_SECRET_KEY *sk);

/*
* | Algorithms | oid | sk (b) | pk (b) | sig (b) | n |
Expand Down

0 comments on commit b4c7ca0

Please sign in to comment.