Skip to content

Commit

Permalink
remove "maximum" words for various length fields (#1747)
Browse files Browse the repository at this point in the history
Signed-off-by: Weijun Wang <weijun.wang@oracle.com>
  • Loading branch information
wangweij authored Apr 9, 2024
1 parent cfc41f7 commit 6f0c461
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/kem/kem.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ typedef struct OQS_KEM {
/** Whether the KEM offers IND-CCA security (TRUE) or IND-CPA security (FALSE). */
bool ind_cca;

/** The (maximum) length, in bytes, of public keys for this KEM. */
/** The length, in bytes, of public keys for this KEM. */
size_t length_public_key;
/** The (maximum) length, in bytes, of secret keys for this KEM. */
/** The length, in bytes, of secret keys for this KEM. */
size_t length_secret_key;
/** The (maximum) length, in bytes, of ciphertexts for this KEM. */
/** The length, in bytes, of ciphertexts for this KEM. */
size_t length_ciphertext;
/** The (maximum) length, in bytes, of shared secrets for this KEM. */
/** The length, in bytes, of shared secrets for this KEM. */
size_t length_shared_secret;

/**
Expand Down
4 changes: 2 additions & 2 deletions src/sig/sig.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ typedef struct OQS_SIG {
/** Whether the signature offers EUF-CMA security (TRUE) or not (FALSE). */
bool euf_cma;

/** The (maximum) length, in bytes, of public keys for this signature scheme. */
/** The length, in bytes, of public keys for this signature scheme. */
size_t length_public_key;
/** The (maximum) length, in bytes, of secret keys for this signature scheme. */
/** The length, in bytes, of secret keys for this signature scheme. */
size_t length_secret_key;
/** The (maximum) length, in bytes, of signatures for this signature scheme. */
size_t length_signature;
Expand Down

0 comments on commit 6f0c461

Please sign in to comment.