|
Botan 3.14.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 |
| const KyberPolyVecNTT & | s () const |
| const KyberPrivateKeySeed & | seed () const |
| const KyberImplicitRejectionValue & | z () const |
Definition at line 105 of file kyber_keys.h.
|
inline |
Definition at line 107 of file kyber_keys.h.
|
delete |
|
inline |
Definition at line 122 of file kyber_keys.h.
References Botan::CT::poison_all().
|
inline |
Definition at line 124 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 325 of file kyber_keys.cpp.
References Botan::Kyber_Algos::decompress_ciphertext(), and Botan::Kyber_Algos::polynomial_to_message().
|
inline |
Definition at line 118 of file kyber_keys.h.
Referenced by Kyber_PrivateKeyInternal().
|
inline |
Definition at line 112 of file kyber_keys.h.
Referenced by Kyber_PrivateKeyInternal().
|
inline |
Definition at line 114 of file kyber_keys.h.
Referenced by Kyber_PrivateKeyInternal().
|
inline |
Definition at line 116 of file kyber_keys.h.