Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.09 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.09 KB

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