Botan 3.8.1
Crypto and TLS for C&
|
#include <kyber_keys.h>
Public Member Functions | |
void | _const_time_poison () const |
void | _const_time_unpoison () const |
KyberMessage | indcpa_decrypt (StrongSpan< const KyberCompressedCiphertext > ct) const |
Kyber_PrivateKeyInternal ()=delete | |
Kyber_PrivateKeyInternal (KyberConstants mode, KyberPolyVecNTT s, KyberPrivateKeySeed seed) | |
const KyberConstants & | mode () const |
KyberPolyVecNTT & | s () |
const KyberPolyVecNTT & | s () const |
const KyberPrivateKeySeed & | seed () const |
const KyberImplicitRejectionValue & | z () const |
Definition at line 81 of file kyber_keys.h.
|
inline |
Definition at line 83 of file kyber_keys.h.
|
delete |
|
inline |
Definition at line 100 of file kyber_keys.h.
References Botan::CT::poison_all().
|
inline |
Definition at line 102 of file kyber_keys.h.
References Botan::CT::unpoison_all().
KyberMessage Botan::Kyber_PrivateKeyInternal::indcpa_decrypt | ( | StrongSpan< const KyberCompressedCiphertext > | ct | ) | const |
NIST FIPS 203, Algorithm 15 (K-PKE.Decrypt)
s^T is already decoded and available as a member variable. This allows to reuse the structure for multiple decryptions.
Definition at line 158 of file kyber_keys.cpp.
References Botan::Kyber_Algos::decompress_ciphertext(), and Botan::Kyber_Algos::polynomial_to_message().
|
inline |
Definition at line 96 of file kyber_keys.h.
Referenced by Kyber_PrivateKeyInternal().
|
inline |
Definition at line 88 of file kyber_keys.h.
Referenced by Kyber_PrivateKeyInternal().
|
inline |
Definition at line 90 of file kyber_keys.h.
|
inline |
Definition at line 92 of file kyber_keys.h.
Referenced by Kyber_PrivateKeyInternal().
|
inline |
Definition at line 94 of file kyber_keys.h.