Botan 3.3.0
Crypto and TLS for C&
Public Member Functions | List of all members
Botan::PK_Ops::KEM_Encryption Class Referenceabstract

#include <pk_ops.h>

Inheritance diagram for Botan::PK_Ops::KEM_Encryption:
Botan::PK_Ops::KEM_Encryption_with_KDF

Public Member Functions

virtual size_t encapsulated_key_length () const =0
 
virtual void kem_encrypt (std::span< uint8_t > out_encapsulated_key, std::span< uint8_t > out_shared_key, RandomNumberGenerator &rng, size_t desired_shared_key_len, std::span< const uint8_t > salt)=0
 
virtual size_t shared_key_length (size_t desired_shared_key_len) const =0
 
virtual ~KEM_Encryption ()=default
 

Detailed Description

KEM (key encapsulation)

Definition at line 145 of file pk_ops.h.

Constructor & Destructor Documentation

◆ ~KEM_Encryption()

virtual Botan::PK_Ops::KEM_Encryption::~KEM_Encryption ( )
virtualdefault

Member Function Documentation

◆ encapsulated_key_length()

virtual size_t Botan::PK_Ops::KEM_Encryption::encapsulated_key_length ( ) const
pure virtual

◆ kem_encrypt()

virtual void Botan::PK_Ops::KEM_Encryption::kem_encrypt ( std::span< uint8_t > out_encapsulated_key,
std::span< uint8_t > out_shared_key,
RandomNumberGenerator & rng,
size_t desired_shared_key_len,
std::span< const uint8_t > salt )
pure virtual

◆ shared_key_length()

virtual size_t Botan::PK_Ops::KEM_Encryption::shared_key_length ( size_t desired_shared_key_len) const
pure virtual

The documentation for this class was generated from the following file: