Key encapsulation

Kyber90s768

The category 3 Kyber variant that uses AES-256 and SHA-2 instead of SHAKE for expansion

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 Kyber90s768

Kyber90s768 is a key encapsulation mechanism from the Kyber-90s-768 family. It uses a 1,184-byte public key, a 2,400-byte secret key, a 1,088-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

Kyber-90s-768 is the category 3 pre-standard Kyber variant that replaces SHAKE with AES-256 in counter mode and SHA-2. It has a 1184-byte public key and a 1088-byte ciphertext. NextSSL carries it as an unverified entry.

Kyber-90s-768 is the 90s form of the middle Kyber parameter set. It replaces SHAKE with AES-256 in counter mode and SHA-2 for matrix expansion and hashing, a change aimed at platforms that accelerate those primitives.

NextSSL records a 1184-byte public key, a 2400-byte secret key, a 1088-byte ciphertext and a 32-byte shared secret. These match the SHAKE-based Kyber-768 sizes, but the expansion and hashing differ, so the outputs are not interchangeable.

The 90s variants were not carried into ML-KEM. The archive tier is unverified, so the entry is kept for research.

History

2017–2024
  1. CRYSTALS-Kyber submitted to NIST PQC

  2. Kyber selected by NIST

  3. Standardised as ML-KEM in FIPS 203

How it works

  1. A rank-three matrix is expanded from a seed using AES-256 in counter mode.
  2. The public key is formed from a noisy product of the matrix and a small secret.
  3. Decapsulation re-encrypts the message and returns a pseudorandom key on mismatch.

Security notes

Unverified in NextSSL. The 90s variants were not carried into ML-KEM, so ML-KEM-768 is the standard choice.

Typical uses

Comparing AES-based and SHAKE-based Kyber expansion at category 3Hardware-accelerated pre-standard Kyber researchReproducing 90s Kyber results

Sizes

FieldBytesMeaning
pk1,184Public key
sk2,400Secret key
ct1,088Ciphertext
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", "kyber90s768", None, outs=2)
ct, ss = root.call("kem_encaps", "kyber90s768", None, pk, outs=2)
assert ss == root.call("kem_decaps", "kyber90s768", 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 Kyber90s768?

Kyber90s768 is a KEM in the Kyber-90s-768 family. Kyber-90s-768 is the category 3 pre-standard Kyber variant that replaces SHAKE with AES-256 in counter mode and SHA-2.

What are the Kyber90s768 sizes?

In NextSSL, Kyber90s768 uses: public key 1,184 bytes, ciphertext 1,088 bytes, shared secret 32 bytes.

Is Kyber90s768 post-quantum?

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

Who designed Kyber90s768 and when?

Kyber90s768 belongs to the Kyber-90s-768 family, first published in 2017.

Is Kyber90s768 safe to use?

Kyber90s768 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).