Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.
/ Skinny Public archive

Project Repository for Cryptography II - Tampere University.

Notifications You must be signed in to change notification settings

TUNI-Projects/Skinny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skinny Hash

How to run test cases

Depending on your C compiler, you will have different commands to compile these source code. In the case of GCC, run the following commands:

To Run and Check Skinny AES Algorithm

gcc skinny.c driver_skinny.c -o skinny.o # compiling
./skinny.o # running

To Run and Check Skinny Hash Algorithm

gcc skinny.c tk3.c driver_tk3.c -o hash.o
./hash.o

How to port SKINNY encryption to TK3 hash function

  • Store skinny-related and tk3-related files in the same directory

  • Include skinny.h into tk3.c: #include "skinny.h"

  • Whenever you need to use it, call skinny(c, p, k)

    • 48-byte tweakey at k

    • 16-byte plaintext at p

    • The 16-byte output at c

Contributor

  • Mohammad Asif Ibtehaz (50366228)
  • Henriikka Kaarenpää (292055)

About

Project Repository for Cryptography II - Tampere University.

Resources

Stars

Watchers

Forks