Go to the documentation of this file.
26 #ifndef MBEDTLS_XTEA_H
27 #define MBEDTLS_XTEA_H
29 #if !defined(MBEDTLS_CONFIG_FILE)
32 #include MBEDTLS_CONFIG_FILE
38 #define MBEDTLS_XTEA_ENCRYPT 1
39 #define MBEDTLS_XTEA_DECRYPT 0
41 #define MBEDTLS_ERR_XTEA_INVALID_INPUT_LENGTH -0x0028
44 #define MBEDTLS_ERR_XTEA_HW_ACCEL_FAILED -0x0029
50 #if !defined(MBEDTLS_XTEA_ALT)
101 const unsigned char input[8],
102 unsigned char output[8] );
104 #if defined(MBEDTLS_CIPHER_MODE_CBC)
122 const unsigned char *input,
123 unsigned char *output);
126 #if defined(MBEDTLS_SELF_TEST)