|
enum | plusaes::Error {
kErrorOk = 0
, kErrorInvalidDataSize = 1
, kErrorInvalidKeySize
, kErrorInvalidBufferSize
,
kErrorInvalidKey
, kErrorDeprecated
, kErrorInvalidIvSize
, kErrorInvalidTagSize
,
kErrorInvalidTag
} |
|
Base definitions and convenient functions
◆ PLUSAES_VERSION
#define PLUSAES_VERSION 0x01000000 |
Version number of the plusaes. 0x01020304 -> 1.2.3.4
◆ Error
◆ get_padded_encrypted_size()
unsigned long plusaes::get_padded_encrypted_size |
( |
const unsigned long |
data_size | ) |
|
|
inline |
Calculates encrypted data size when padding is enabled.
◆ key_from_string() [1/3]
std::vector< unsigned char > plusaes::key_from_string |
( |
const char(*) |
key_str[17] | ) |
|
|
inline |
Create 128-bit key from string.
◆ key_from_string() [2/3]
std::vector< unsigned char > plusaes::key_from_string |
( |
const char(*) |
key_str[25] | ) |
|
|
inline |
Create 192-bit key from string.
◆ key_from_string() [3/3]
std::vector< unsigned char > plusaes::key_from_string |
( |
const char(*) |
key_str[33] | ) |
|
|
inline |
Create 256-bit key from string.
◆ version()
unsigned int plusaes::version |
( |
| ) |
|
|
inline |
Version number of plusaes.