EVP_KEM-ML-KEM(7ossl)
π EVP_KEM-ML-KEM β the keytype & algorithm support page (from the 7ossl manual fam)
okay so bestie, welcome to the ML-KEM corner of the OpenSSL manual π
this is the 7ossl page for EVP_KEM-ML-KEM-512, EVP_KEM-ML-KEM-768, EVP_KEM-ML-KEM-1024, and the general EVP_KEM-ML-KEM β together they're the EVP_KEM ML-KEM keytype and algorithm support. yes that's a lot of names, no we're not skipping any of them π«Ά
β¨ DESCRIPTION β¨
So the ML-KEM keytypes and all their parameters get their own whole page β that's EVP_PKEY-ML-KEM(7), go read it, it's giving main character energy π
And if you wanna actually do KEM stuff (like, the basic operations), the icons are EVP_PKEY_encapsulate(3) and EVP_PKEY_decapsulate(3) β they've got all the details for you, no cap π
πΈ ML-KEM KEM parameters πΈ
"ikme"(OSSL_KEM_PARAM_IKME)<octet string>β okay so this one is the randomness override. The OpenSSL ML-KEM encapsulation mechanism can only be modified by setting randomness during encapsulation, and the whole point of that is to enable testing, as per FIPS 203, section 6.2, algorithm 17 π₯
β οΈ bestie listen to me: this parameter should not be used for purposes other than testing. like, fr fr, testing only. π
- When this parameter is not set, encapsulation proceeds as per FIPS 203, section 7.2 β¨
- This parameter is only settable β that's it, that's the whole vibe.
You can set this when you're using EVP_PKEY_encapsulate_init(). π
π CONFORMING TO π
FIPS203 β that's the standard, and it ate π
π¦ SEE ALSO π¦
like, the whole friend group, iykyk π
π HISTORY π
This functionality was added in OpenSSL 3.5 β so if you're on an older one, that's a skill issue for your package manager, not for you π
π COPYRIGHT π
Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>. π«Ά
and that's the page!! mwah π sign-off time: this was version 3.5.6, dated 2026-04-07, brought to you by the EVP_KEM-ML-KEM(7ossl) manual. slay, go encapsulate something π¦β
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms