Skip to content
/ gift Public

Hardware implementation of the GIFT-128 lightweight block cipher

License

Notifications You must be signed in to change notification settings

secworks/gift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gift

Hardware implementation of the GIFT-128 lightweight block cipher

Status

Just started. Not completed. Does not work. Do Not Use.

Introduction

GIFT-128 (PDF) is a round based, lightweight block cipher. The key length and block size is 128 bits.

Verification is done against the official GIFT test vectors.

FuseSoC

This core is supported by the FuseSoC core package manager and build system. Some quick FuseSoC instructions:

Install FuseSoC

pip install fusesoc

Create and enter a new workspace

mkdir workspace && cd workspace

Register prince as a library in the workspace

fusesoc library add gift /path/to/gift

...if repo is available locally or... ...to get the upstream repo

fusesoc library add gift https://github.com/secworks/gift

Run tb_prince testbench

fusesoc run --target=tb_gift secworks:crypto:gift

Run with modelsim instead of default tool (icarus)

fusesoc run --target=tb_gift --tool=modelsim secworks:crypto:gift

About

Hardware implementation of the GIFT-128 lightweight block cipher

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages