This commit is contained in:
2025-06-10 11:54:50 +02:00
parent fe82635333
commit 7351838abb
14 changed files with 622 additions and 0 deletions

8
tp3/lib_tea/xtea.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef _TEA_H
#define _TEA_H
#include <stdint.h>
void encrypt_xtea (uint32_t* v, uint32_t const k[]);
void decrypt_xtea (uint32_t* v, uint32_t const k[]);
uint64_t hash_block_xtea(char b[24]);
#endif