|
Electroneum
|

Go to the source code of this file.
Classes | |
| struct | _oaes_key |
| struct | _oaes_ctx |
Macros | |
| #define | OAES_API |
| #define | OAES_VERSION "0.8.1" |
| #define | OAES_BLOCK_SIZE 16 |
| #define | OAES_OPTION_NONE 0 |
| #define | OAES_OPTION_ECB 1 |
| #define | OAES_OPTION_CBC 2 |
Typedefs | |
| typedef void | OAES_CTX |
| typedef uint16_t | OAES_OPTION |
| typedef struct _oaes_key | oaes_key |
| typedef struct _oaes_ctx | oaes_ctx |
Enumerations | |
| enum | OAES_RET { OAES_RET_FIRST = 0 , OAES_RET_SUCCESS = 0 , OAES_RET_UNKNOWN , OAES_RET_ARG1 , OAES_RET_ARG2 , OAES_RET_ARG3 , OAES_RET_ARG4 , OAES_RET_ARG5 , OAES_RET_NOKEY , OAES_RET_MEM , OAES_RET_BUF , OAES_RET_HEADER , OAES_RET_COUNT } |
| #define OAES_API |
Definition at line 52 of file oaes_lib.h.
| #define OAES_BLOCK_SIZE 16 |
Definition at line 56 of file oaes_lib.h.
| #define OAES_OPTION_CBC 2 |
Definition at line 88 of file oaes_lib.h.
| #define OAES_OPTION_ECB 1 |
Definition at line 84 of file oaes_lib.h.
| #define OAES_OPTION_NONE 0 |
Definition at line 82 of file oaes_lib.h.
| #define OAES_VERSION "0.8.1" |
Definition at line 55 of file oaes_lib.h.
| typedef void OAES_CTX |
Definition at line 58 of file oaes_lib.h.
| typedef uint16_t OAES_OPTION |
Definition at line 103 of file oaes_lib.h.
| enum OAES_RET |
Definition at line 60 of file oaes_lib.h.
| OAES_API OAES_RET oaes_decrypt | ( | OAES_CTX * | ctx, |
| const uint8_t * | c, | ||
| size_t | c_len, | ||
| uint8_t * | m, | ||
| size_t * | m_len ) |
| OAES_API OAES_RET oaes_encrypt | ( | OAES_CTX * | ctx, |
| const uint8_t * | m, | ||
| size_t | m_len, | ||
| uint8_t * | c, | ||
| size_t * | c_len ) |
| OAES_API OAES_RET oaes_set_option | ( | OAES_CTX * | ctx, |
| OAES_OPTION | option, | ||
| const void * | value ) |