浏览代码

Fix typo in comments leaving root out of sk

master
Joost Rijneveld 7 年前
父节点
当前提交
afad4fe13a
找不到此签名对应的密钥 GPG 密钥 ID: A4FE39CF49CBC553
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      xmss_core.c
  2. +1
    -1
      xmss_core.h

+ 1
- 1
xmss_core.c 查看文件

@@ -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.
* 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.
*/
int xmssmt_core_keypair(const xmss_params *params,


+ 1
- 1
xmss_core.h 查看文件

@@ -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.
* 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.
*/
int xmssmt_core_keypair(const xmss_params *params,


正在加载...
取消
保存