Skip to content

luthern/keyak_cuda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

keyak_cuda

Implementation of Keyak Cipher in C/CUDA

Keccak Implementation based on the prior work of Gerhard Hoffmann.

Prerequisites

  • Cuda/NVidia enabled machine.

Should work on any NVidia architecture. Tested at home and on Hokiespeed.

Compiling Keyak

cd keyak/
export BUF_SLOTS=74
# only if CUDA_INC is not defined
export CUDA_INC=.
make -j5

Testing

Run the testbench

./testbench.sh

Run test vector to ensure implementation is correct

cd vectors/
./v1.sh

Usage

./keyak
usage: ./keyak <key-hex> <input-file> <output-file> [-n <nonce-hex>] [-m <metadata-hex>] [-i <iterations>]

About

Implementation of Keyak Cipher in C/CUDA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published