74 #ifndef __TC_CBC_MODE_H__ 75 #define __TC_CBC_MODE_H__ 111 unsigned int inlen,
const uint8_t *iv,
144 unsigned int inlen,
const uint8_t *iv,
– Interface to an AES-128 implementation.
int tc_cbc_mode_decrypt(uint8_t *out, unsigned int outlen, const uint8_t *in, unsigned int inlen, const uint8_t *iv, const TCAesKeySched_t sched)
CBC decryption procedure CBC decrypts inlen bytes of the in buffer into the out buffer using the prov...
Definition: tc_cbc_mode.c:77
int tc_cbc_mode_encrypt(uint8_t *out, unsigned int outlen, const uint8_t *in, unsigned int inlen, const uint8_t *iv, const TCAesKeySched_t sched)
CBC encryption procedure CBC encrypts inlen bytes of the in buffer into the out buffer using the encr...
Definition: tc_cbc_mode.c:37