Botan 3.14.1
Crypto and TLS for C&
Botan::PK_Ops Namespace Reference

Classes

class  Decryption
class  Encryption
class  KEM_Decryption
class  KEM_Decryption_with_KDF
class  KEM_Encryption
class  KEM_Encryption_with_KDF
class  Key_Agreement
class  Key_Agreement_with_KDF
class  Signature
class  Signature_with_Hash
class  Verification
class  Verification_with_Hash

Enumerations

enum class  KemSharedKeyQuality : uint8_t { IsUniform , RequiresKDF }

Enumeration Type Documentation

◆ KemSharedKeyQuality

enum class Botan::PK_Ops::KemSharedKeyQuality : uint8_t
strong

Describes the raw shared key produced by a KEM, ie the value returned when no KDF is applied to it.

Enumerator
IsUniform 

The raw output is already a uniformly random key (eg ML-KEM), so it is returned directly if the caller does not specify a KDF

RequiresKDF 

The raw output is not uniform (eg RSA-KEM, or a key agreement used as a KEM), so the caller must either specify a KDF or explicitly request the raw output

Definition at line 27 of file pk_ops_impl.h.

27 : uint8_t {
28 /// The raw output is already a uniformly random key (eg ML-KEM), so it
29 /// is returned directly if the caller does not specify a KDF
31 /// The raw output is not uniform (eg RSA-KEM, or a key agreement used as a
32 /// KEM), so the caller must either specify a KDF or explicitly request the
33 /// raw output
35};