Skip to content

jqk6/aes_c

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[edit] I suggest this as an alternative, it's a little better-
https://github.com/kokke/tiny-AES128-C

aes_c

Simple c code for aes-128 ECB. Shamelessly pilfered from https://github.com/chrishulbert/crypto , all credit there.

The idea here is to provide drop in AES support for simple (embedded) applications. Compiles to about 3k (ROM) on Cortex-M4, due to lookup tables.

No promises on performance, but it does work.

Public domain, use and abuse as you like.

TODO: take a look at the following. It should be about 1.5k-2k less due to fewer lookup tables.
http://ccodeblog.wordpress.com/2012/05/25/aes-implementation-in-300-lines-of-code/

About

AES-128 ECB c code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.9%
  • Python 1.1%