Skip to content

Commit 9032423

Browse files
committed
[extended tests] Switch from personal fork to official repo
Signed-off-by: Ganyu (Bruce) Xu <g66xu@uwaterloo.ca>
1 parent a05f2d9 commit 9032423

89 files changed

Lines changed: 962 additions & 20 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ All names other than `ML-KEM` and `ML-DSA` are subject to change. `liboqs` makes
6161
| BIKE | Not selected by [NIST](https://bikesuite.org/files/v5.1/BIKE_Spec.2022.10.10.1.pdf) | [`awslabs/bike-kem`](https://github.com/awslabs/bike-kem) |
6262
| Classic McEliece | Under [ISO](https://classic.mceliece.org/iso.html) consideration | [`PQClean/PQClean@1eacfda`](https://github.com/PQClean/PQClean/commit/1eacfdafc15ddc5d5759d0b85b4cef26627df181) |
6363
| FrodoKEM | Under [ISO](https://frodokem.org/) consideration | [`microsoft/PQCrypto-LWEKE@a2f9dec`](https://github.com/microsoft/PQCrypto-LWEKE/commit/a2f9dec8917ccc3464b3378d46b140fa7353320d) |
64-
| HQC | Selected by [NIST](https://pqc-hqc.org/doc/hqc_specifications_2025_08_22.pdf) for upcoming standardization | [`xuganyu96/pqc-hqc@ee00532`](https://github.com/xuganyu96/pqc-hqc/commit/ee00532ae4a722768c33c33e9148052a2465228d) |
64+
| HQC | Selected by [NIST](https://pqc-hqc.org/doc/hqc_specifications_2025_08_22.pdf) for upcoming standardization | [`pqc-hqc/hqc@161cd4f`](https://gitlab.com/pqc-hqc/hqc/commit/161cd4fdf6b4a5198cf40b3a1243f9f27f13e03d) |
6565
| Kyber | Selected by [NIST](https://csrc.nist.gov/CSRC/media/Projects/post-quantum-cryptography/documents/round-3/submissions/Kyber-Round3.zip) as basis for ML-KEM (FIPS 203) | [`pq-crystals/kyber@441c051`](https://github.com/pq-crystals/kyber/commit/441c0519a07e8b86c8d079954a6b10bd31d29efc) |
6666
| ML-KEM | Standardized by [NIST](https://csrc.nist.gov/pubs/fips/203/final) | [`pq-code-package/mlkem-native@d2cae2b`](https://github.com/pq-code-package/mlkem-native/commit/d2cae2be522a67bfae26100fdb520576f1b2ef90) |
6767
| NTRU | Not selected by [NIST](https://csrc.nist.gov/CSRC/media/Projects/post-quantum-cryptography/documents/round-3/submissions/NTRU-Round3.zip), under standardization consideration by [NTT](https://info.isl.ntt.co.jp/crypt/ntru/index.html) | [`PQClean/PQClean@4c9e5a3`](https://github.com/PQClean/PQClean/commit/4c9e5a3aa715cc8d1d0e377e4e6e682ebd7602d6) |

docs/algorithms/kem/hqc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- **Authors' website**: https://pqc-hqc.org/
88
- **Specification version**: 2025-08-22.
99
- **Primary Source**<a name="primary-source"></a>:
10-
- **Source**: https://github.com/xuganyu96/pqc-hqc/commit/ee00532ae4a722768c33c33e9148052a2465228d
10+
- **Source**: https://gitlab.com/pqc-hqc/hqc/commit/161cd4fdf6b4a5198cf40b3a1243f9f27f13e03d with copy_from_upstream patches
1111
- **Implementation license (SPDX-Identifier)**: Public domain
1212
- **Ancestors of primary source**:
1313
- https://gitlab.com/pqc-hqc, which takes it from:

docs/algorithms/kem/hqc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ parameter-sets:
6868
default: true
6969
primary-upstream:
7070
spdx-license-identifier: Public domain
71-
source: https://github.com/xuganyu96/pqc-hqc/commit/ee00532ae4a722768c33c33e9148052a2465228d
71+
source: https://gitlab.com/pqc-hqc/hqc/commit/161cd4fdf6b4a5198cf40b3a1243f9f27f13e03d
72+
with copy_from_upstream patches
7273
default-upstream-id: ref
7374
auxiliary-submitters:
7475
- Carlos Aguilar-Melchor

scripts/copy_from_upstream/copy_from_upstream.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ def shell(command, expect=0):
6868
subprocess_stdout = None if DEBUG > 0 else subprocess.DEVNULL
6969
ret = subprocess.run(command, stdout=subprocess_stdout, stderr=subprocess_stdout)
7070
if ret.returncode != expect:
71+
if ret.stdout:
72+
print(ret.stdout.decode("utf-8"))
73+
if ret.stderr:
74+
print(ret.stderr.decode("utf-8"))
7175
raise Exception("'{}' failed with error {}. Expected {}.".format(" ".join(command), ret, expect))
7276

7377
# Generate template from specified scheme to replace old file in 'copy' mode

scripts/copy_from_upstream/copy_from_upstream.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
upstreams:
22
-
3-
name: xuganyu96-hqc
4-
git_url: https://github.com/xuganyu96/pqc-hqc.git
5-
git_branch: liboqs-integration
6-
git_commit: ee00532ae4a722768c33c33e9148052a2465228d
3+
name: pqc-hqc
4+
git_url: https://gitlab.com/pqc-hqc/hqc.git
5+
git_branch: next-release
6+
git_commit: 161cd4fdf6b4a5198cf40b3a1243f9f27f13e03d
77
kem_meta_path: "integrations/{pretty_name_full}_META.yml"
88
kem_scheme_path: .
9-
patches: []
9+
patches: [pqchqc-liboqs-integration.patch]
1010
-
1111
name: oldpqclean
1212
git_url: https://github.com/PQClean/PQClean.git
@@ -158,7 +158,7 @@ kems:
158158
-
159159
name: hqc
160160
default_implementation: ref
161-
upstream_location: xuganyu96-hqc
161+
upstream_location: pqc-hqc
162162
schemes:
163163
-
164164
scheme: "1"

0 commit comments

Comments
 (0)