瀏覽代碼

Consistent use of hash_to_point_ct between Falcon-512 and 1024

master
John M. Schanck 3 年之前
父節點
當前提交
fb688ba01d
共有 4 個檔案被更改,包括 6 行新增6 行删除
  1. +2
    -2
      crypto_sign/falcon-1024/META.yml
  2. +1
    -1
      crypto_sign/falcon-1024/avx2/pqclean.c
  3. +1
    -1
      crypto_sign/falcon-1024/clean/pqclean.c
  4. +2
    -2
      crypto_sign/falcon-512/META.yml

+ 2
- 2
crypto_sign/falcon-1024/META.yml 查看文件

@@ -20,9 +20,9 @@ auxiliary-submitters:
- Zhenfei Zhang
implementations:
- name: clean
version: supercop-20201018 via https://github.com/jschanck/package-pqclean/tree/78831f03/falcon
version: supercop-20201018 via https://github.com/jschanck/package-pqclean/tree/cea1fa5a/falcon
- name: avx2
version: supercop-20201018 via https://github.com/jschanck/package-pqclean/tree/78831f03/falcon
version: supercop-20201018 via https://github.com/jschanck/package-pqclean/tree/cea1fa5a/falcon
supported_platforms:
- architecture: x86_64
operating_systems:


+ 1
- 1
crypto_sign/falcon-1024/avx2/pqclean.c 查看文件

@@ -187,7 +187,7 @@ do_sign(uint8_t *nonce, uint8_t *sigbuf, size_t *sigbuflen,
inner_shake256_inject(&sc, nonce, NONCELEN);
inner_shake256_inject(&sc, m, mlen);
inner_shake256_flip(&sc);
PQCLEAN_FALCON1024_AVX2_hash_to_point_vartime(&sc, r.hm, 10);
PQCLEAN_FALCON1024_AVX2_hash_to_point_ct(&sc, r.hm, 10, tmp.b);
inner_shake256_ctx_release(&sc);

/*


+ 1
- 1
crypto_sign/falcon-1024/clean/pqclean.c 查看文件

@@ -187,7 +187,7 @@ do_sign(uint8_t *nonce, uint8_t *sigbuf, size_t *sigbuflen,
inner_shake256_inject(&sc, nonce, NONCELEN);
inner_shake256_inject(&sc, m, mlen);
inner_shake256_flip(&sc);
PQCLEAN_FALCON1024_CLEAN_hash_to_point_vartime(&sc, r.hm, 10);
PQCLEAN_FALCON1024_CLEAN_hash_to_point_ct(&sc, r.hm, 10, tmp.b);
inner_shake256_ctx_release(&sc);

/*


+ 2
- 2
crypto_sign/falcon-512/META.yml 查看文件

@@ -20,9 +20,9 @@ auxiliary-submitters:
- Zhenfei Zhang
implementations:
- name: clean
version: supercop-20201018 via https://github.com/jschanck/package-pqclean/tree/78831f03/falcon
version: supercop-20201018 via https://github.com/jschanck/package-pqclean/tree/cea1fa5a/falcon
- name: avx2
version: supercop-20201018 via https://github.com/jschanck/package-pqclean/tree/78831f03/falcon
version: supercop-20201018 via https://github.com/jschanck/package-pqclean/tree/cea1fa5a/falcon
supported_platforms:
- architecture: x86_64
operating_systems:


Loading…
取消
儲存