45                        size_t length, uint8_t *output);
 
   61                        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