BabyBear 624 CPA
The CPA-secure round-2 Three Bears BabyBear parameter set, with an 804-byte secret key
Overview
BabyBear 624 CPA is the CPA-secure round-2 form of the smallest Three Bears parameter set, built on Integer Learning With Errors. It has an 804-byte public key, an 804-byte secret key and a 917-byte ciphertext. NextSSL carries it as an unverified entry.
BabyBear is the smallest Three Bears parameter set. The CPA form omits the re-encryption check, so its secret key is the same size as its public key in the archive, instead of the larger CCA secret key.
NextSSL records an 804-byte public key, an 804-byte secret key, a 917-byte ciphertext and a 32-byte shared secret. The CPA form does not provide chosen-ciphertext security, so it should not be used where an attacker can submit ciphertexts.
The archive tier is unverified, so the entry is kept for research and comparison with the CCA form.
History
2017–2017BabyBear 624 CPA published by Mike Hamburg
How it works
- A seed generates an integer public vector and a small secret, which together form the public key.
- Encapsulation encrypts a random message under the public key.
- Decapsulation recovers the message and derives the shared secret, without the CCA re-encryption check.
Security notes
Unverified in NextSSL. The CPA form lacks chosen-ciphertext protection and should not be used as a KEM with untrusted input.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Threebears624r2cpax threebears624r2cpax |
unverified | pk 804 · sk 804 · ct 917 · ss 32 · seed 0 · coins 0 | — | root |
Frequently asked questions
What is BabyBear 624 CPA?
It is the CPA-secure round-2 form of the smallest Three Bears parameter set, carried by NextSSL as unverified.
Is BabyBear 624 CPA secure and post-quantum?
It is lattice-based, but the CPA form lacks chosen-ciphertext protection and the archive records it as unverified. Use the CCA form or ML-KEM-512 instead.
What key and ciphertext sizes does BabyBear 624 CPA use?
It uses an 804-byte public key, an 804-byte secret key and a 917-byte ciphertext, with a 32-byte shared secret.
Which BabyBear 624 CPA variants does NextSSL include?
NextSSL registers 1 BabyBear 624 CPA variant: threebears624r2cpax.
Families with similar names
Other key encapsulation
All 110Related
The pre-standard Kyber-512 parameter set, a category 1 Module-LWE KEM before FIPS 203
ML-KEMNIST's primary post-quantum key encapsulation mechanism, standardised in FIPS 203
Three Bears Round 2Mike Hamburg's round-2 I-LWE KEM with BabyBear, MamaBear and PapaBear CCA and CPA forms
BabyBear 624 CCAThe CCA-secure round-2 Three Bears BabyBear parameter set, with an 804-byte public key
MamaBear 936 CPAThe CPA-secure round-2 Three Bears MamaBear parameter set, with a 1194-byte secret key