Skip to content

Commit

Permalink
Update OID comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ducnguyen-sb committed Oct 24, 2023
1 parent ef1bb9a commit 8e422a5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/sig_stfl/sig_stfl.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ OQS_API int OQS_SIG_STFL_alg_is_enabled(const char *method_name);
*/
typedef struct OQS_SIG_STFL {

/** A local ordinal representing the OID parameter of the signature scheme. */
/**
* A local ordinal representing the LMS/XMSS OID parameter of the signature scheme.
* This OID is unrelated to ASN.1 OID or anything, it's only for LMS/XMSS internal usage.
*/
uint32_t oid;

/** Printable string representing the name of the signature scheme. */
Expand Down Expand Up @@ -271,7 +274,7 @@ typedef struct OQS_SIG_STFL_SECRET_KEY {
/* file storage handle */
void *context;

/* Secret key lock status: 0: key is locked, otherwise key is unlocked */
/* Secret key lock status boolean: (true) key is locked, (false) key is unlocked */
bool is_locked;

/**
Expand Down

0 comments on commit 8e422a5

Please sign in to comment.