23 #ifndef MBEDTLS_XTEA_H 24 #define MBEDTLS_XTEA_H 26 #if !defined(MBEDTLS_CONFIG_FILE) 29 #include MBEDTLS_CONFIG_FILE 35 #define MBEDTLS_XTEA_ENCRYPT 1 36 #define MBEDTLS_XTEA_DECRYPT 0 38 #define MBEDTLS_ERR_XTEA_INVALID_INPUT_LENGTH -0x0028 40 #if !defined(MBEDTLS_XTEA_ALT) 91 const unsigned char input[8],
94 #if defined(MBEDTLS_CIPHER_MODE_CBC) 112 const unsigned char *
input,
121 #include "xtea_alt.h" GLenum mode
Definition: glext.h:6857
Configuration options (set of defines)
XTEA context structure.
Definition: xtea.h:51
int mbedtls_xtea_self_test(int verbose)
Checkup routine.
Definition: xtea.c:237
void mbedtls_xtea_setup(mbedtls_xtea_context *ctx, const unsigned char key[16])
XTEA key schedule.
Definition: xtea.c:86
GLenum GLenum GLenum input
Definition: glext.h:9938
int mbedtls_xtea_crypt_cbc(mbedtls_xtea_context *ctx, int mode, size_t length, unsigned char iv[8], const unsigned char *input, unsigned char *output)
XTEA CBC cipher function.
Definition: xtea.c:144
void mbedtls_xtea_free(mbedtls_xtea_context *ctx)
Clear XTEA context.
Definition: xtea.c:75
void mbedtls_xtea_init(mbedtls_xtea_context *ctx)
Initialize XTEA context.
Definition: xtea.c:70
AVFormatContext * ctx
Definition: record_ffmpeg.c:247
static const unsigned char iv[]
Definition: ccm.c:364
std::string output
Definition: Config.FromFile.cpp:44
int mbedtls_xtea_crypt_ecb(mbedtls_xtea_context *ctx, int mode, const unsigned char input[8], unsigned char output[8])
XTEA cipher function.
Definition: xtea.c:101
GLenum GLuint GLenum GLsizei length
Definition: glext.h:6233
unsigned int uint32_t
Definition: stdint.h:126