Speck128/128 C99 public domain header library
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Makefile
README.md
UNLICENSE
speck.h
speckcrypt.c
tests.c

README.md

C99 implementation of Speck128/128

This is a public domain implementation of NSA's Speck cipher (update), specificially the 128-bit block, 128-bit key variant. It's provided as a header library with three functions:

void speck_init(struct speck *, uint64_t, uint64_t);
void speck_encrypt(const struct speck *, uint64_t *, uint64_t *);
void speck_decrypt(const struct speck *, uint64_t *, uint64_t *);