Data Storage Tool Display Human Input Protocol Math Motor Control Sensor Signal Generation & Processing Speech & Sound Fun View all Objects


Quick Links
Contact Us
Forums
Support

Register
Login

This object is provided under license. By downloading this object, you are agreeing to the terms of the MIT License.

AES-128 in PASM

Attached is a functioning AES-128 implementation in PASM (with just enough SPIN to set the pointer to the SBox & InvSBox lookup tables).

1. I have tested it (successfully) against the FIPS-197 example using GEAR V09_10_26. (Note: this is the Data and Key in the file, output in istate.)
2. It is not a complete driver, it just encrypts & decrypts data loaded with the PASM and leaves that data in the COG. Adding data movement (along with the steps needed to support multi-block modes) is left to the implementor.

Performance: Key Expansion ~4.4K cycles, Cipher ~16.1K cycles/block, Inverse Cipher ~18K cycles/block.

Version:
  1.0.0

Type:
  Object

Attributes:


Author:
  Eric Ball

Categories:
  Math

Downloads:
  134

Last Updated:
  2010-09-10



User Reviews:



Comments on this Object:


Post a comment:




Please contact obex.support@parallax.com with comments or questions.

Copyright 2011 by Parallax, Inc.