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.