File nut/gorp/crypt/xtea.c


Included Files


Preprocessor definitions

#define XTDELTA 0x9e3779b9

#define XTSUM 0xC6EF3720

#define ROUNDS 32


Global Function XTeaCrypt()

void XTeaCrypt ( uint32_t* w, const uint32_t* v, const XTeaKeyBlock_t k )
Prototyped in: nut/include/gorp/xtea.h
Called by: XTeaCryptStr() nut/gorp/crypt/xtea.c

Global Function XTeaCryptStr()

void XTeaCryptStr ( char* dst, const char* src, uint16_t len, const char* pass )
Prototyped in: nut/include/gorp/xtea.h
Calls: XTeaCrypt() nut/gorp/crypt/xtea.c
  memcpy() nut/c/string/memcpy.c
  strlen() nut/c/string/strlen.c

Global Function XTeaDecrypt()

void XTeaDecrypt ( uint32_t* w, const uint32_t* v, const XTeaKeyBlock_t k )
Prototyped in: nut/include/gorp/xtea.h
Called by: XTeaDecryptStr() nut/gorp/crypt/xtea.c

Global Function XTeaDecryptStr()

void XTeaDecryptStr ( char* dst, const char* src, uint16_t len, const char* pass )
Prototyped in: nut/include/gorp/xtea.h
Calls: XTeaDecrypt() nut/gorp/crypt/xtea.c
  memcpy() nut/c/string/memcpy.c
  strlen() nut/c/string/strlen.c