Key encapsulation

NTRU-HPS2048677-R2

The round-2 NTRU KEM family, with HPS and HRSS parameter sets for 509 to 4096 dimensions

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 NTRU-HPS2048677-R2

NTRU-HPS2048677-R2 is one of 4 NTRU Round 2 variants in the NextSSL registry, a key encapsulation mechanism. It uses a 930-byte public key, a 1,234-byte secret key, a 930-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

NTRU Round 2 is the round-2 submission of the NTRU key encapsulation family to the NIST post-quantum process, built on NTRU lattices. It includes HPS and HRSS parameter sets. NextSSL carries four variants as unverified entries.

NTRU is a lattice-based public-key scheme first proposed in 1996 by Hoffstein, Pipher and Silverman. Its security rests on the NTRU problem over convolution polynomial rings, which is related to but distinct from the module-LWE problem used by Kyber. The round-2 submission contains HPS and HRSS parameter families.

NextSSL carries ntru-hps2048509-r2, ntru-hps2048677-r2, ntru-hps4096821-r2 and ntru-hrss701-r2, each with a 32-byte shared secret. Public keys run from 699 to 1230 bytes and ciphertexts have the same sizes as the public keys in these sets, which is a feature of the NTRU construction.

The archive tier is unverified. NTRU-based KEMs were not selected for standardisation in the NIST process, so ML-KEM is the standard counterpart.

History

2016–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. 69 complete round-1 submissions published

    NIST Post-Quantum Cryptography standardisation
  3. NTRU Round 2 published

  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. The key pair is built from small polynomials, with the public key being a scaled ring product of a private polynomial and a public one.
  2. Encapsulation derives a ciphertext from a random message and the public key.
  3. Decapsulation multiplies by the private polynomial, recovers the message, and checks it before deriving the shared secret.

Security notes

Unverified in NextSSL. NTRU was not selected for standardisation. Constant-time arithmetic is needed to avoid timing leaks on secret polynomials.

Typical uses

Comparing lattice KEM familiesResearch into convolution-polynomial lattice schemesHistorical reference for NTRU in post-quantum standards

Sizes

FieldBytesMeaning
pk930Public key
sk1,234Secret key
ct930Ciphertext
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", "ntru-hps2048677-r2", None, outs=2)
ct, ss = root.call("kem_encaps", "ntru-hps2048677-r2", None, pk, outs=2)
assert ss == root.call("kem_decaps", "ntru-hps2048677-r2", None, sk, ct)[0]

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

Frequently asked questions

What is NTRU-HPS2048677-R2?

NTRU-HPS2048677-R2 is a KEM in the NTRU Round 2 family. NTRU Round 2 is the round-2 submission of the NTRU key encapsulation family to the NIST post-quantum process, built on NTRU lattices.

What are the NTRU-HPS2048677-R2 sizes?

In NextSSL, NTRU-HPS2048677-R2 uses: public key 930 bytes, ciphertext 930 bytes, shared secret 32 bytes.

Is NTRU-HPS2048677-R2 post-quantum?

Yes. NTRU-HPS2048677-R2 is a post-quantum kem: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.

Who designed NTRU-HPS2048677-R2 and when?

NTRU-HPS2048677-R2 belongs to the NTRU Round 2 family, first published in 2019. Its origin: NIST PQC Round 2 submission.

Is NTRU-HPS2048677-R2 safe to use?

NTRU-HPS2048677-R2 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 NTRU Round 2 variants are there?

NextSSL also registers ntru-hps2048509-r2, ntru-hps4096821-r2, ntru-hrss701-r2 in the NTRU Round 2 family.