KEM family

Three Bears Round 2

Mike Hamburg's round-2 I-LWE KEM with BabyBear, MamaBear and PapaBear CCA and CPA forms

unverified 6 variants

Overview

Three Bears Round 2 is the second-round Three Bears key encapsulation family by Mike Hamburg, based on Integer Learning With Errors. It includes CCA and CPA forms of BabyBear, MamaBear and PapaBear, plus ephemeral forms. NextSSL carries six round-2 variants as unverified archival entries.

The round-2 Three Bears specification refined the round-1 design by Mike Hamburg and added CCA-secure and CPA-secure forms at each of the three parameter levels. The underlying hardness assumption is Integer Learning With Errors, which avoids the number-theoretic transform and uses simple integer arithmetic.

NextSSL carries the BabyBear, MamaBear and PapaBear round-2 ephemeral variants, with their public keys of 804, 1194 and 1584 bytes respectively for the 624, 936 and 1248 parameter sets. The CCA variants carry larger secret keys than the CPA variants, which store the secret key in a different form. All use 32-byte shared secrets.

The archive tier is unverified. Three Bears was not standardised, and ML-KEM is the comparable standard choice.

History

2017–2017
  1. Three Bears Round 2 published by Mike Hamburg

How it works

  1. A seed generates an integer public vector and a small secret, and the public key is the masked product.
  2. Encapsulation encrypts a random message under the public key using integer arithmetic.
  3. CCA forms re-encrypt on decapsulation and return a pseudorandom key if the check fails.

Security notes

Unverified in NextSSL. CPA forms lack chosen-ciphertext protection and should not be used as a KEM. Ephemeral forms must not be reused.

Typical uses

Research into integer-LWE key encapsulationComparing CCA and CPA forms at three security levelsBenchmarking lattice KEM sizes

Variants in NextSSL

6
AlgorithmTierSizes (bytes)StandardsAPI
Threebears-Babybear-R2
threebears-babybear-r2
unverified pk 804 · sk 40 · ct 917 · ss 32 · seed 0 · coins 0 — root
Threebears-Babybearephem-R2
threebears-babybearephem-r2
unverified pk 804 · sk 40 · ct 917 · ss 32 · seed 0 · coins 0 — root
Threebears-Mamabear-R2
threebears-mamabear-r2
unverified pk 1194 · sk 40 · ct 1307 · ss 32 · seed 0 · coins 0 — root
Threebears-Mamabearephem-R2
threebears-mamabearephem-r2
unverified pk 1194 · sk 40 · ct 1307 · ss 32 · seed 0 · coins 0 — root
Threebears-Papabear-R2
threebears-papabear-r2
unverified pk 1584 · sk 40 · ct 1697 · ss 32 · seed 0 · coins 0 — root
Threebears-Papabearephem-R2
threebears-papabearephem-r2
unverified pk 1584 · sk 40 · ct 1697 · ss 32 · seed 0 · coins 0 — root

Frequently asked questions

What is Three Bears Round 2?

Three Bears Round 2 is Mike Hamburg's round-2 integer-LWE KEM family, with CCA and CPA forms at three levels. NextSSL carries it as unverified.

Is Three Bears Round 2 secure and post-quantum?

It is based on a problem believed to resist quantum attacks, but the archive records it as unverified and it was not standardised. Use ML-KEM for standard deployments.

What key and ciphertext sizes does Three Bears Round 2 use?

Public keys are 804 bytes at the 624 level, 1194 bytes at 936 and 1584 bytes at 1248. Shared secrets are 32 bytes, and CCA secret keys are larger than CPA ones.

Which Three Bears Round 2 variants does NextSSL include?

NextSSL registers 6 Three Bears Round 2 variants: threebears-babybear-r2, threebears-babybearephem-r2, threebears-mamabear-r2, threebears-mamabearephem-r2, threebears-papabear-r2, threebears-papabearephem-r2.