Skip to content

C/C++ whitebox implementation of AES

Notifications You must be signed in to change notification settings

zhanglei486/WhiteBoxAES

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhiteBox AES

This is a basic implementation of Chow et al's scheme, following Muir's tutorial.

How to use

  • aes.c and aes.h implement the standard aes encryption

  • genTables.cpp, RandMat.cpp and RandMat.h contain the functions used to generate the whitebox

  • aes_table.c and main.c implement aes with lookup-tables, protected or not

Compile with make to build the whitebox generator:

$ make tables

$ ./genTables

Then you can compile the whitebox:

$ make
$ ./whitebox <input>

To Do

  • Find a way to pass encodings through the non-linear sbox

About

C/C++ whitebox implementation of AES

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 51.9%
  • C++ 43.6%
  • Makefile 4.5%