20#ifndef CRYPTO_MODES_ECB_H
21#define CRYPTO_MODES_ECB_H
46 size_t length, uint8_t *output);
62 size_t length, uint8_t *output);
Headers for the packet encryption class.
int cipher_encrypt_ecb(const cipher_t *cipher, const uint8_t *input, size_t length, uint8_t *output)
Encrypt data of arbitrary length in ecb mode.
int cipher_decrypt_ecb(const cipher_t *cipher, const uint8_t *input, size_t length, uint8_t *output)
Decrypts data of arbitrary length in ecb mode.
basic struct for using block ciphers contains the cipher interface and the context