Digital signatures

Hawk512-R2

Lattice signatures from the lattice isomorphism problem, a NIST Round 2 candidate

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 Hawk512-R2

Hawk512-R2 is one of 3 HAWK variants in the NextSSL registry, a digital signature scheme. It uses a 1,024-byte public key, a 184-byte secret key and a 1–555-byte signature. 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

HAWK is a hash-and-sign signature scheme whose security relies on the module lattice isomorphism problem. It produces compact signatures like Falcon while avoiding high-precision floating-point arithmetic.

In HAWK the secret key is a basis of the simple lattice Z^2n, a lattice where finding short vectors is easy, and the public key is a quadratic form that describes the same lattice in a scrambled basis. Recovering the hidden isomorphism is the module lattice isomorphism problem. Signing hashes the message to a target and uses the secret basis to sample a short vector by discrete Gaussian sampling over Z^2n, which can be done with small integer tables rather than floating point.

This gives Falcon-like key and signature sizes with simpler, faster and more easily constant-time signing. The trade-off is reliance on a newer assumption that has had less cryptanalytic attention than LWE or NTRU. Signing in HAWK is reported to be considerably faster than Falcon and needs much less code, and verification is also efficient. These properties make it attractive for embedded devices, where floating-point Gaussian sampling is a particular burden.

Three parameter sets from the Round 2 specification are present: HAWK-512 (category 1), HAWK-1024 (category 5) and HAWK-256, a small challenge parameter set intended to encourage cryptanalysis rather than for production use. HAWK-512 has public keys of about 1 KB and signatures of roughly 550 bytes, and HAWK-1024 roughly doubles both. Parameters may still change before NIST concludes the round.

History

2022–2024
  1. HAWK published by Léo Ducas, Eamonn W. Postlethwaite, Ludo N. Pulles, Wessel van Woerden

  2. NIST calls for additional post-quantum signature schemes

    NIST additional signatures on-ramp
  3. 40 round-1 candidates published

    NIST additional signatures on-ramp
  4. 14 candidates advance to round 2

    NIST additional signatures on-ramp

How it works

  1. KeyGen samples a secret basis B of Z^2n and publishes the quadratic form Q = B^T B.
  2. Sign hashes the message and a salt to a target vector.
  3. A discrete Gaussian sample over Z^2n near the target is obtained with the secret basis.
  4. Verify checks the signature's norm under the public quadratic form.

Security notes

The lattice isomorphism assumption is comparatively young. HAWK-256 is a challenge parameter set and must not be used for real security. The scheme is still under NIST evaluation and may change.

Typical uses

Compact signatures on devices without floating-point unitsResearch into lattice isomorphism cryptographyCandidate evaluation in the NIST additional signatures process

Sizes

FieldBytesMeaning
pk1,024Public key
sk184Secret key
sig1 – 555Signature
seed0Seed
ctx0Context string

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
pk, sk = root.call("sign_keygen", "hawk512-r2", None, outs=2)
sig = root.call("sign_detached", "hawk512-r2", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "hawk512-r2", None, pk, b"message", b"", sig)

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

Other HAWK variants

2

Frequently asked questions

What is Hawk512-R2?

Hawk512-R2 is a signature in the HAWK family. HAWK is a hash-and-sign signature scheme whose security relies on the module lattice isomorphism problem.

What are the Hawk512-R2 sizes?

In NextSSL, Hawk512-R2 uses: public key 1,024 bytes, signature 1 to 555 bytes.

Is Hawk512-R2 post-quantum?

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

Who designed Hawk512-R2 and when?

Hawk512-R2 belongs to the HAWK family, first published in 2022 by Léo Ducas, Eamonn W. Postlethwaite, Ludo N. Pulles, Wessel van Woerden. Its origin: NIST additional signatures Round 2.

Is Hawk512-R2 safe to use?

Hawk512-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 HAWK variants are there?

NextSSL also registers hawk1024-r2, hawk256-r2 in the HAWK family.