Fix typo in comments leaving root out of sk

This commit is contained in:
Joost Rijneveld 2017-11-02 17:00:38 +01:00
parent 42a2e8aa83
commit afad4fe13a
No known key found for this signature in database
GPG Key ID: A4FE39CF49CBC553
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ unsigned long long xmssmt_core_sk_bytes(const xmss_params *params)
/* /*
* Generates a XMSSMT key pair for a given parameter set. * Generates a XMSSMT key pair for a given parameter set.
* Format sk: [(ceil(h/8) bit) index || SK_SEED || SK_PRF || PUB_SEED] * Format sk: [(ceil(h/8) bit) index || SK_SEED || SK_PRF || PUB_SEED || root]
* Format pk: [root || PUB_SEED] omitting algorithm OID. * Format pk: [root || PUB_SEED] omitting algorithm OID.
*/ */
int xmssmt_core_keypair(const xmss_params *params, int xmssmt_core_keypair(const xmss_params *params,

View File

@ -45,7 +45,7 @@ unsigned long long xmssmt_core_sk_bytes(const xmss_params *params);
/* /*
* Generates a XMSSMT key pair for a given parameter set. * Generates a XMSSMT key pair for a given parameter set.
* Format sk: [(ceil(h/8) bit) index || SK_SEED || SK_PRF || PUB_SEED] * Format sk: [(ceil(h/8) bit) index || SK_SEED || SK_PRF || PUB_SEED || root]
* Format pk: [root || PUB_SEED] omitting algorithm OID. * Format pk: [root || PUB_SEED] omitting algorithm OID.
*/ */
int xmssmt_core_keypair(const xmss_params *params, int xmssmt_core_keypair(const xmss_params *params,