Botan
1.10.9
|
#include <mode_pad.h>
Public Member Functions | |
std::string | name () const |
void | pad (byte[], size_t, size_t) const |
virtual size_t | pad_bytes (size_t block_size, size_t position) const |
size_t | unpad (const byte[], size_t) const |
bool | valid_blocksize (size_t) const |
ANSI X9.23 Padding
Definition at line 84 of file mode_pad.h.
|
inlinevirtual |
Implements Botan::BlockCipherModePaddingMethod.
Definition at line 90 of file mode_pad.h.
Referenced by unpad().
|
virtual |
block | output buffer |
size | of the block |
current_position | in the last block |
Implements Botan::BlockCipherModePaddingMethod.
Definition at line 65 of file mode_pad.cpp.
|
virtualinherited |
block_size | of the cipher |
position | in the current block |
Reimplemented in Botan::Null_Padding.
Definition at line 17 of file mode_pad.cpp.
|
virtual |
block | the last block |
size | the of the block |
Implements Botan::BlockCipherModePaddingMethod.
Definition at line 75 of file mode_pad.cpp.
References name().
|
virtual |
block_size | of the cipher |
Implements Botan::BlockCipherModePaddingMethod.
Definition at line 89 of file mode_pad.cpp.