--
You received this message because you are subscribed to the Google Groups "pqc-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pqc-forum+...@list.nist.gov.
To view this discussion visit https://groups.google.com/a/list.nist.gov/d/msgid/pqc-forum/f417df1e97474a64a7ac09165c7750e7%40owndata.org.
---
Mike Ounsworth
+1 to Deirdre and Mike.
Does NIST have a preliminary name for the standardized version of HQC that is expected to appear in FIPS 207? As I am not interested in the pre-standardized version, having a name for the standardized one would be useful.
Cheers,
John
Subject: Observations on HQC v5 Reference Implementation
Dear HQC authors,
Thank you for the update. After reviewing the v5 reference implementation (https://gitlab.com/pqc-hqc/hqc), I’d like to share a few observations:
1. Architecture Compatibility (Apple M1 / ARM64)
The build fails on Apple M1 due to the immintrin.h header (Intel-specific). Adding conditional compilation or ARM64 alternatives would improve portability and enable broader testing.
2. Possible Redundancy in vect_truncate
In PKE encryption:
vect_mul(tmp, r2, s);
vect_add(tmp, e, tmp, VEC_N_SIZE_64);
vect_truncate(tmp);
vect_add(c_pke->v, c_pke->v, tmp, VEC_N1N2_SIZE_64);
Since only the first VEC_N1N2_SIZE_64 words of tmp are used later, vect_truncate(tmp) may be unnecessary. Removing it could simplify the code without affecting output.
3. Decryption Return Value
hqc_pke_decrypt always returns 0, signaling success regardless of outcome. This may be intentional (constant-time, failure-insensitive), but a clarifying comment would improve readability and consistency with common practice.
Best regards,
Gefei Li