Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 657 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 657 Bytes

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>]