Newhope1024cpa-R1
The round-1 NewHope ring-LWE KEM in 512 and 1024 CPA-secure forms
Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Newhope1024cpa-R1
Newhope1024cpa-R1 is one of 2 NewHope Round 1 variants in the NextSSL registry, a key encapsulation mechanism. It uses a 1,824-byte public key, a 1,792-byte secret key, a 2,176-byte ciphertext and a 32-byte shared secret. It is designed to resist attacks by large quantum computers. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
NewHope Round 1 is a ring Learning With Errors key exchange and encapsulation scheme from the first round of the NIST post-quantum process, in 512 and 1024-dimension CPA-secure forms. NextSSL carries both as unverified archival entries.
NewHope is a ring-LWE scheme designed by Erdem Alkim, Léo Ducas, Thomas Pöppelmann and Peter Schwabe, and it was an early practical post-quantum key exchange. The round-1 version was submitted to the NIST process and uses the number-theoretic transform for fast polynomial arithmetic.
NextSSL carries newhope512cpa-r1 and newhope1024cpa-r1, both with a 32-byte shared secret. The 512 variant has a 928-byte public key and a 1088-byte ciphertext, and the 1024 variant a 1824-byte public key and a 2176-byte ciphertext. The CPA label means the scheme is secure against passive attackers, not chosen-ciphertext attackers.
The round-1 designs were later refined in round 2, and the archive tier is unverified. The round-1 entries are kept for historical comparison.
History
2016–2025NewHope key exchange presented at USENIX Security
Google tests CECPQ1 (X25519 + NewHope) in Chrome
NewHope submitted to NIST PQC
26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationKyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens
NIST Post-Quantum Cryptography standardisationFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
NIST Post-Quantum Cryptography standardisationHQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- A public polynomial is derived from a seed and a secret polynomial is sampled from a narrow distribution.
- Encryption adds a noisy product and an encoded message to the ciphertext, using the number-theoretic transform for speed.
- Decryption removes the noise and decodes the message, which yields the shared secret.
Security notes
Unverified in NextSSL and CPA-secure only, so it lacks the chosen-ciphertext protection that a KEM normally needs. Round 2 and later schemes are preferred.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 1,824 | Public key |
| sk | 1,792 | Secret key |
| ct | 2,176 | Ciphertext |
| ss | 32 | Shared secret |
| seed | 0 | Seed |
| coins | 0 | Encapsulation randomness |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
pk, sk = root.call("kem_keygen", "newhope1024cpa-r1", None, outs=2)
ct, ss = root.call("kem_encaps", "newhope1024cpa-r1", None, pk, outs=2)
assert ss == root.call("kem_decaps", "newhope1024cpa-r1", None, sk, ct)[0]
nextssl_root_kem_keygen("newhope1024cpa-r1", NULL, pk, sk);
nextssl_root_kem_encaps("newhope1024cpa-r1", NULL, pk, ct, ss);
nextssl_root_kem_decaps("newhope1024cpa-r1", NULL, sk, ct, ss);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_kem_in(reg::all(), Policy::Any, "newhope1024cpa-r1", &Params::new())?;
let (pk, sk) = alg.keygen(&mut *rng)?;
let (ct, ss) = alg.encaps(&pk, &mut *rng)?;
assert_eq!(ss, alg.decaps(&sk, &ct)?);
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other NewHope Round 1 variants
1Similar names
Looking for something else?More key encapsulation
All 110Frequently asked questions
What is Newhope1024cpa-R1?
Newhope1024cpa-R1 is a KEM in the NewHope Round 1 family. NewHope Round 1 is a ring Learning With Errors key exchange and encapsulation scheme from the first round of the NIST post-quantum process, in 512 and 1024-dimension CPA-secure forms.
What are the Newhope1024cpa-R1 sizes?
In NextSSL, Newhope1024cpa-R1 uses: public key 1,824 bytes, ciphertext 2,176 bytes, shared secret 32 bytes.
Is Newhope1024cpa-R1 post-quantum?
Yes. Newhope1024cpa-R1 is a post-quantum kem: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.
Who designed Newhope1024cpa-R1 and when?
Newhope1024cpa-R1 belongs to the NewHope Round 1 family, first published in 2017 by Erdem Alkim, Léo Ducas, Thomas Pöppelmann, Peter Schwabe.
Is Newhope1024cpa-R1 safe to use?
Newhope1024cpa-R1 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other NewHope Round 1 variants are there?
NextSSL also registers newhope512cpa-r1 in the NewHope Round 1 family.
Related families
A round-1 ring-LWE KEM that uses error-correcting reconciliation to agree on a shared secret
Kyber-512The pre-standard Kyber-512 parameter set, a category 1 Module-LWE KEM before FIPS 203
ML-KEMNIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
NewHope Round 2The round-2 NewHope ring-LWE KEM, with CCA and CPA-secure 512 and 1024 forms
NewHopeEarly Ring-LWE key encapsulation, a NIST Round 2 candidate