|
MAGMA
Cryptographic Library
|
#include "modes/ofb.h"
Functions | |
| MagmaResult | magma_encrypt_ofb (const unsigned char keys[ITER_KEYS_COUNT][ITER_KEY_LEN], const unsigned char *iv, const size_t iv_length, const unsigned char *input, unsigned char *output, const size_t length) |
| MagmaResult | magma_decrypt_ofb (const unsigned char keys[ITER_KEYS_COUNT][ITER_KEY_LEN], const unsigned char *iv, const size_t iv_length, const unsigned char *input, unsigned char *output, const size_t length) |
| MagmaResult magma_decrypt_ofb | ( | const unsigned char | keys[ITER_KEYS_COUNT][ITER_KEY_LEN], |
| const unsigned char * | iv, | ||
| const size_t | iv_length, | ||
| const unsigned char * | input, | ||
| unsigned char * | output, | ||
| const size_t | length ) |
| keys | Expanded iteration keys. |
| iv | Pointer to the IV (initialization vector). |
| iv_length | Length of the IV in bytes. |
| input | Pointer to the input data. |
| output | Pointer to the output data. |
| length | Length of the input data in bytes. |
| MagmaResult magma_encrypt_ofb | ( | const unsigned char | keys[ITER_KEYS_COUNT][ITER_KEY_LEN], |
| const unsigned char * | iv, | ||
| const size_t | iv_length, | ||
| const unsigned char * | input, | ||
| unsigned char * | output, | ||
| const size_t | length ) |
| keys | Expanded iteration keys. |
| iv | Pointer to the IV (initialization vector). |
| iv_length | Length of the IV in bytes. |
| input | Pointer to the input data. |
| output | Pointer to the output data. |
| length | Length of the input data in bytes. |