Key encapsulation

Frodokem1344shake

A conservative unstructured-LWE KEM at the highest security level, using 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 Frodokem1344shake

Frodokem1344shake is a key encapsulation mechanism from the FrodoKEM-1344-SHAKE family. It uses a 21,520-byte public key, a 43,088-byte secret key, a 21,632-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

FrodoKEM-1344-SHAKE is a key encapsulation mechanism based on plain, unstructured Learning With Errors, at the highest security level in the Frodo family. It uses SHAKE for matrix generation. Its public key is about 21 KB, and NextSSL carries it as an unverified entry.

FrodoKEM is a key encapsulation mechanism based on the unstructured Learning With Errors problem, with no ring or module structure in the public matrix. The design was submitted to NIST by a team including Joppe Bos, Craig Costello and Léo Ducas, and it is intended as a conservative choice that does not rely on the extra structure that ring and module schemes use.

NextSSL carries the 1344 parameter set with SHAKE expansion. Its public key is 21520 bytes, its secret key 43088 bytes and its ciphertext 21632 bytes, with a 32-byte shared secret. These are large compared with module-lattice schemes, which is the price of avoiding structure.

The archive tier is unverified. Frodo's large sizes make it a good comparison point for the conservative end of the lattice KEM spectrum rather than a general-purpose choice.

History

2016–2017
  1. Frodo key exchange presented at ACM CCS

  2. FrodoKEM submitted to NIST PQC

How it works

  1. A public matrix is generated from a seed using SHAKE, and the public key is a noisy product of that matrix and a small secret.
  2. Encapsulation encrypts a random message under the public key, with noise sampled from a table-based distribution.
  3. Decapsulation re-encrypts and compares the ciphertext, returning a pseudorandom key on mismatch.

Security notes

Unverified in NextSSL. Table-based noise sampling must be implemented in constant time to avoid side-channel leaks. Its large keys and ciphertexts are the main practical cost.

Typical uses

Conservative post-quantum KEM comparisonsResearch into unstructured LWE schemesSettings where a structure-free assumption is preferred

Sizes

FieldBytesMeaning
pk21,520Public key
sk43,088Secret key
ct21,632Ciphertext
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", "frodokem1344shake", None, outs=2)
ct, ss = root.call("kem_encaps", "frodokem1344shake", None, pk, outs=2)
assert ss == root.call("kem_decaps", "frodokem1344shake", 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 Frodokem1344shake?

Frodokem1344shake is a KEM in the FrodoKEM-1344-SHAKE family. FrodoKEM-1344-SHAKE is a key encapsulation mechanism based on plain, unstructured Learning With Errors, at the highest security level in the Frodo family.

What are the Frodokem1344shake sizes?

In NextSSL, Frodokem1344shake uses: public key 21,520 bytes, ciphertext 21,632 bytes, shared secret 32 bytes.

Is Frodokem1344shake post-quantum?

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

Who designed Frodokem1344shake and when?

Frodokem1344shake belongs to the FrodoKEM-1344-SHAKE family, first published in 2016 by Joppe Bos, Craig Costello, Léo Ducas, Ilya Mironov, Michael Naehrig, Valeria Nikolaenko, Ananth Raghunathan, Douglas Stebila.

Is Frodokem1344shake safe to use?

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