|
Botan
1.10.17
|
#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 |
One And Zeros Padding
Definition at line 96 of file mode_pad.h.
|
inlinevirtual |
Implements Botan::BlockCipherModePaddingMethod.
Definition at line 102 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 100 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 110 of file mode_pad.cpp.
References name().
|
virtual |
| block_size | of the cipher |
Implements Botan::BlockCipherModePaddingMethod.
Definition at line 128 of file mode_pad.cpp.
1.8.14