Botan 3.9.0
Crypto and TLS for C&
|
#include <pk_ops.h>
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 |
|
virtualdefault |
|
pure virtual |
Implemented in Botan::Classic_McEliece_Encryptor, Botan::KEM_Encryption_with_Combiner, and Botan::Kyber_KEM_Encryptor_Base.
Referenced by Botan::PK_Ops::KEM_Encryption_with_KDF::kem_encrypt().
|
pure virtual |
Implemented in Botan::KEM_Encryption_with_Combiner, and Botan::PK_Ops::KEM_Encryption_with_KDF.
|
pure virtual |
Implemented in Botan::PK_Ops::KEM_Encryption_with_KDF.
Referenced by Botan::KEM_Encryption_with_Combiner::kem_encrypt().