#include <pk_ops_impl.h>
Definition at line 208 of file pk_ops_impl.h.
◆ KEM_Decryption_with_KDF()
Botan::PK_Ops::KEM_Decryption_with_KDF::KEM_Decryption_with_KDF |
( |
const std::string & |
kdf | ) |
|
|
explicitprotected |
◆ ~KEM_Decryption_with_KDF()
Botan::PK_Ops::KEM_Decryption_with_KDF::~KEM_Decryption_with_KDF |
( |
| ) |
|
|
protecteddefault |
◆ kem_decrypt()
secure_vector< uint8_t > Botan::PK_Ops::KEM_Decryption_with_KDF::kem_decrypt |
( |
const uint8_t |
encap_key[], |
|
|
size_t |
len, |
|
|
size_t |
desired_shared_key_len, |
|
|
const uint8_t |
salt[], |
|
|
size_t |
salt_len |
|
) |
| |
|
overridevirtual |
Implements Botan::PK_Ops::KEM_Decryption.
Definition at line 155 of file pk_ops.cpp.
160 {
161 secure_vector<uint8_t> raw_shared = this->
raw_kem_decrypt(encap_key, len);
162
163 return m_kdf->derive_key(desired_shared_key_len,
164 raw_shared.data(), raw_shared.size(),
166 }
virtual secure_vector< uint8_t > raw_kem_decrypt(const uint8_t encap_key[], size_t len)=0
References salt_len.
◆ raw_kem_decrypt()
virtual secure_vector< uint8_t > Botan::PK_Ops::KEM_Decryption_with_KDF::raw_kem_decrypt |
( |
const uint8_t |
encap_key[], |
|
|
size_t |
len |
|
) |
| |
|
protectedpure virtual |
The documentation for this class was generated from the following files: