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

#include <pk_ops.h>

Inheritance diagram for Botan::PK_Ops::KEM_Decryption:
Botan::PK_Ops::KEM_Decryption_with_KDF

Public Member Functions

virtual size_t encapsulated_key_length () const =0
 
virtual void kem_decrypt (std::span< uint8_t > out_shared_key, std::span< const uint8_t > encapsulated_key, 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_Decryption ()=default
 

Detailed Description

Definition at line 160 of file pk_ops.h.

Constructor & Destructor Documentation

◆ ~KEM_Decryption()

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

Member Function Documentation

◆ encapsulated_key_length()

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

◆ kem_decrypt()

virtual void Botan::PK_Ops::KEM_Decryption::kem_decrypt ( std::span< uint8_t > out_shared_key,
std::span< const uint8_t > encapsulated_key,
size_t desired_shared_key_len,
std::span< const uint8_t > salt )
pure virtual

◆ shared_key_length()

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

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