Key encapsulation

Timerv5

A KEM whose archived sizes match the SMAUG-T entries, carried as an unverified v5 submission

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 Timerv5

Timerv5 is a key encapsulation mechanism from the TiMER family. It uses a 672-byte public key, a 1,504-byte secret key, a 672-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

TiMER is a key encapsulation mechanism carried in the archive as timerv5. Its recorded sizes match the SMAUG-T entries, with a 672-byte public key, a 1504-byte secret key and a 672-byte ciphertext. NextSSL carries it as an unverified archival entry.

TiMER is a key encapsulation mechanism that appears in the archive as the version 5 submission, timerv5. The archive does not record its designers, its security basis or its structure, so this entry is limited to the sizes and tier.

NextSSL records a 672-byte public key, a 1504-byte secret key, a 672-byte ciphertext and a 32-byte shared secret. These are identical to the SMAUG-T entries, which may indicate a shared parameter set or a data-entry issue, so the figures should be checked against the submission.

The archive tier is unverified, so the entry is kept for research and comparison only.

How it works

  1. Key generation produces a public key and a secret key from the scheme's parameters.
  2. Encapsulation derives a ciphertext and a 32-byte shared secret from a random input.
  3. Decapsulation recovers the input, checks the ciphertext and derives the shared secret.

Security notes

Unverified in NextSSL, and the archive does not record a security basis. Check the submission before drawing any conclusion about its strength.

Typical uses

Research into post-quantum KEM candidatesChecking size records across the archiveBenchmarking candidate KEMs

Sizes

FieldBytesMeaning
pk672Public key
sk1,504Secret key
ct672Ciphertext
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", "timerv5", None, outs=2)
ct, ss = root.call("kem_encaps", "timerv5", None, pk, outs=2)
assert ss == root.call("kem_decaps", "timerv5", None, sk, ct)[0]

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

Similar names

Looking for something else?

Frequently asked questions

What is Timerv5?

Timerv5 is a KEM in the TiMER family. TiMER is a key encapsulation mechanism carried in the archive as timerv5.

What are the Timerv5 sizes?

In NextSSL, Timerv5 uses: public key 672 bytes, ciphertext 672 bytes, shared secret 32 bytes.

Is Timerv5 post-quantum?

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

Is Timerv5 safe to use?

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