Botan 3.6.1
Crypto and TLS for C&
|
#include <gost_28147.h>
Public Member Functions | |
GOST_28147_89_Params (std::string_view name="R3411_94_TestParam") | |
std::string | param_name () const |
uint8_t | sbox_entry (size_t row, size_t col) const |
uint8_t | sbox_pair (size_t row, size_t col) const |
The GOST 28147-89 block cipher uses a set of 4 bit Sboxes, however the standard does not actually define these Sboxes; they are considered a local configuration issue. Several different sets are used.
Definition at line 21 of file gost_28147.h.
|
explicit |
Default GOST parameters are the ones given in GOST R 34.11 for testing purposes; these sboxes are also used by Crypto++, and, at least according to Wikipedia, the Central Bank of Russian Federation
name | of the parameter set |
Definition at line 28 of file gost_28147.cpp.
References Botan::fmt().
|
inline |
uint8_t Botan::GOST_28147_89_Params::sbox_entry | ( | size_t | row, |
size_t | col ) const |
row | the row |
col | the column |
Definition at line 17 of file gost_28147.cpp.
uint8_t Botan::GOST_28147_89_Params::sbox_pair | ( | size_t | row, |
size_t | col ) const |
Return a representation used for building larger tables For internal use
Definition at line 22 of file gost_28147.cpp.
Referenced by Botan::GOST_28147_89::GOST_28147_89().