Definition at line 123 of file kalyna.h.
◆ AlgorithmName()
std::string Kalyna256::Base::AlgorithmName |
( |
| ) |
const |
|
inline |
Provides the name of this algorithm.
- Returns
- the standard algorithm name
If the object is unkeyed, then the generic name "Kalyna" is returned to the caller. If the algorithm is keyed, then a two or three part name is returned to the caller. The name follows DSTU 7624:2014, where block size is provided first and then key length. The library uses a dash to identify block size and parenthesis to identify key length. For example, Kalyna-128(256) is Kalyna with a 128-bit block size and a 256-bit key length. If a mode is associated with the object, then it follows as expected. For example, Kalyna-128(256)/ECB. DSTU is a little more complex with more parameters, dashes, underscores, but the library does not use the delimiters or full convention.
Definition at line 137 of file kalyna.h.
◆ OptimalDataAlignment()
unsigned int Kalyna256::Base::OptimalDataAlignment |
( |
| ) |
const |
|
inline |
Provides input and output data alignment for optimal performance.
- Returns
- the input data alignment that provides optimal performance
- See also
- GetAlignment() and OptimalBlockSize()
Definition at line 144 of file kalyna.h.
◆ ProcessAndXorBlock()
void Kalyna256::Base::ProcessAndXorBlock |
( |
const byte * |
inBlock, |
|
|
const byte * |
xorBlock, |
|
|
byte * |
outBlock |
|
) |
| const |
|
protected |
◆ ProcessBlock_44()
void Kalyna256::Base::ProcessBlock_44 |
( |
const byte * |
inBlock, |
|
|
const byte * |
xorBlock, |
|
|
byte * |
outBlock |
|
) |
| const |
|
protected |
◆ ProcessBlock_48()
void Kalyna256::Base::ProcessBlock_48 |
( |
const byte * |
inBlock, |
|
|
const byte * |
xorBlock, |
|
|
byte * |
outBlock |
|
) |
| const |
|
protected |
◆ SetKey_44()
void Kalyna256::Base::SetKey_44 |
( |
const word64 |
key[4] | ) |
|
|
protected |
◆ SetKey_48()
void Kalyna256::Base::SetKey_48 |
( |
const word64 |
key[8] | ) |
|
|
protected |
◆ UncheckedSetKey()
void Kalyna256::Base::UncheckedSetKey |
( |
const byte * |
key, |
|
|
unsigned int |
keylen, |
|
|
const NameValuePairs & |
params |
|
) |
| |
|
protected |
The documentation for this class was generated from the following files:
- G:/work/subversion/scol-technologies/trunk/scol/plugins/security/cryptopp/kalyna.h
- G:/work/subversion/scol-technologies/trunk/scol/plugins/security/cryptopp/kalyna.cpp