20#ifndef CRYPTO_MODES_CBC_H
21#define CRYPTO_MODES_CBC_H
47 size_t input_len, uint8_t *output);
65 size_t input_len, uint8_t *output);
int cipher_decrypt_cbc(const cipher_t *cipher, uint8_t iv[16], const uint8_t *input, size_t input_len, uint8_t *output)
Decrypt encrypted data in cipher block chaining mode.
int cipher_encrypt_cbc(const cipher_t *cipher, uint8_t iv[16], const uint8_t *input, size_t input_len, uint8_t *output)
Encrypt data of arbitrary length in cipher block chaining mode.
Headers for the packet encryption class.
basic struct for using block ciphers contains the cipher interface and the context