Botan 3.0.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:

Public Member Functions

virtual size_t encapsulated_key_length () const =0
virtual void kem_encrypt (secure_vector< uint8_t > &out_encapsulated_key, secure_vector< uint8_t > &out_shared_key, size_t desired_shared_key_len, RandomNumberGenerator &rng, const uint8_t salt[], size_t salt_len)=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 148 of file pk_ops.h.

Constructor & Destructor Documentation

◆ ~KEM_Encryption()

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

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 ( secure_vector< uint8_t > &  out_encapsulated_key,
secure_vector< uint8_t > &  out_shared_key,
size_t  desired_shared_key_len,
RandomNumberGenerator rng,
const uint8_t  salt[],
size_t  salt_len 
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: