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/tea.h Normal file
View File

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