|
Botan
2.13.0
Crypto and TLS for C++11
|
#include <mode_pad.h>
Public Member Functions | |
| void | add_padding (secure_vector< uint8_t > &, size_t, size_t) const override |
| std::string | name () const override |
| size_t | unpad (const uint8_t[], size_t size) const override |
| bool | valid_blocksize (size_t) const override |
Null Padding
Definition at line 137 of file mode_pad.h.
|
inlineoverridevirtual |
Add padding bytes to buffer.
| buffer | data to pad |
| final_block_bytes | size of the final block in bytes |
| block_size | size of each block in bytes |
Implements Botan::BlockCipherModePaddingMethod.
Definition at line 140 of file mode_pad.h.
|
inlineoverridevirtual |
Implements Botan::BlockCipherModePaddingMethod.
Definition at line 149 of file mode_pad.h.
|
inlineoverridevirtual |
Remove padding bytes from block
| block | the last block |
| len | the size of the block in bytes |
Implements Botan::BlockCipherModePaddingMethod.
Definition at line 145 of file mode_pad.h.
|
inlineoverridevirtual |
| block_size | of the cipher |
Implements Botan::BlockCipherModePaddingMethod.
Definition at line 147 of file mode_pad.h.
1.8.9.1