46#define XTEA_KEY_SIZE_BYTES 16
48#define XTEA_BLOCK_SIZE_BYTES 8
void px_xtea_decrypt(uint32_t data[2])
Decrypt 64-bit data with 128-bit key.
void px_xtea_encrypt(uint32_t data[2])
Encrypt 64-bit data with 128-bit key.
size_t px_xtea_decrypt_data_ecb(const uint8_t *data_in, uint8_t *data_out, size_t nr_of_bytes)
Decrypt a data buffer using Electronic Codebook (ECB) block cipher operation.
size_t px_xtea_encrypt_data_ecb(const uint8_t *data_in, uint8_t *data_out, size_t nr_of_bytes)
Encrypt a data buffer using Electronic Codebook (ECB) block cipher operation.
void px_xtea_init(const uint32_t key[4])
Initialise 128-bit key for encryption/decryption.