mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-04 00:02:01 -04:00
remove "maximum" words for various length fields (#1747)
Signed-off-by: Weijun Wang <weijun.wang@oracle.com>
This commit is contained in:
parent
cfc41f7560
commit
6f0c46187c
@ -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;
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user