Key encapsulation

Newhope1024cpa-R1

The round-1 NewHope ring-LWE KEM in 512 and 1024 CPA-secure forms

unverified Root API only Post-quantum
Unverified tier.

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–2025
  1. NewHope key exchange presented at USENIX Security

  2. Google tests CECPQ1 (X25519 + NewHope) in Chrome

  3. NewHope submitted to NIST PQC

  4. 26 candidates advance to round 2

    NIST Post-Quantum Cryptography standardisation
  5. Round 3 finalists and alternates announced

    NIST Post-Quantum Cryptography standardisation
  6. Kyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens

    NIST Post-Quantum Cryptography standardisation
  7. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published

    NIST Post-Quantum Cryptography standardisation
  8. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. A public polynomial is derived from a seed and a secret polynomial is sampled from a narrow distribution.
  2. Encryption adds a noisy product and an encoded message to the ciphertext, using the number-theoretic transform for speed.
  3. 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

Historical comparison of ring-LWE key exchangeResearch into number-theoretic transform based lattice schemesComparisons with NewHope Round 2

Sizes

FieldBytesMeaning
pk1,824Public key
sk1,792Secret key
ct2,176Ciphertext
ss32Shared secret
seed0Seed
coins0Encapsulation 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]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Other NewHope Round 1 variants

1

Frequently 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.