AES

module
v0.0.0-...-b7fcb3c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2016 License: BSD-3-Clause

README

OpenWhiteBox AES

This repository aims to collect implementations of white-box AES constructions and their cryptanalyses. All documentation is in godocs:

  • constructions/
    • bes/ An un-obfuscated, reference BES (Big Encryption System) implementation.
    • chow/ Chow et al.'s white-box AES construction.
    • full/ Full construction from paper.
    • saes/ An un-obfuscated, reference AES implementation.
    • toy/ Toy construction from paper.
    • xiao/ Xiao and Lai's white-box AES construction.
  • cryptanalysis/
    • chow/ Cryptanalysis of Chow et al.'s construction.
    • toy/ Cryptanalysis of toy construction.
    • xiao/ Cryptanalysis of Xiao and Lai's construction.

The "full" construction is the only white-box construction which does not have a corresponding cryptanalysis implemented (though that doesn't mean it's secure). See example/ for code and instructions on how to use the "full" construction.

Directories

Path Synopsis
constructions
bes
Package bes implements the Big Encryption System, a variant of AES with more algebraic structure.
Package bes implements the Big Encryption System, a variant of AES with more algebraic structure.
chow
Package chow implements Chow et al.'s white-box AES construction.
Package chow implements Chow et al.'s white-box AES construction.
common
Package common contains code common to many constructions.
Package common contains code common to many constructions.
full
Package full implements the full white-box AES construction, with decomposed S-boxes.
Package full implements the full white-box AES construction, with decomposed S-boxes.
saes
Package saes implements a reference copy of AES-128.
Package saes implements a reference copy of AES-128.
test
Package test contains test vectors for AES implementations.
Package test contains test vectors for AES implementations.
toy
Package toy implements the toy white-box AES construction, based on simple SPN disambiguation.
Package toy implements the toy white-box AES construction, based on simple SPN disambiguation.
xiao
Package xiao implements the Xiao-Lai white-box AES construction.
Package xiao implements the Xiao-Lai white-box AES construction.
cryptanalysis
chow
Package chow implements a cryptanalysis of Chow et al.'s white-box AES construction.
Package chow implements a cryptanalysis of Chow et al.'s white-box AES construction.
toy
Package chow implements a cryptanalysis of the toy white-box AES construction.
Package chow implements a cryptanalysis of the toy white-box AES construction.
xiao
Package xiao implements a cryptanalysis of the Xiao and Lai's white-box AES constructions.
Package xiao implements a cryptanalysis of the Xiao and Lai's white-box AES constructions.
Command decrypt reads a block from the command line, loads the white-box private key from disk, and decrypts the block.
Command decrypt reads a block from the command line, loads the white-box private key from disk, and decrypts the block.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL