1
0
mirror of https://github.com/fumiama/simple-crypto.git synced 2026-06-09 12:40:25 +08:00

add more tea

This commit is contained in:
fumiama
2021-12-11 17:48:57 +08:00
parent d586997a6f
commit c3e06d6886
3 changed files with 77 additions and 0 deletions

View File

@@ -23,8 +23,10 @@ typedef struct TEADAT TEADAT;
TEADAT* tea_encrypt_qq(const TEA t[4], const TEADAT* src);
TEADAT* tea_encrypt(const TEA t[4], const uint32_t sumtable[0x10], const TEADAT* src);
TEADAT* tea_encrypt_native_endian(const TEA t[4], const uint32_t sumtable[0x10], const TEADAT* src);
TEADAT* tea_decrypt_qq(const TEA t[4], const TEADAT* src);
TEADAT* tea_decrypt(const TEA t[4], const uint32_t sumtable[0x10], const TEADAT* src);
TEADAT* tea_decrypt_native_endian(const TEA t[4], const uint32_t sumtable[0x10], const TEADAT* src);
// ---------------TEA area---------------