×

Method and apparatus for advanced encryption standard (AES) block cipher

  • US 8,391,475 B2
  • Filed: 03/30/2007
  • Issued: 03/05/2013
  • Est. Priority Date: 03/30/2007
  • Status: Active Grant
First Claim
Patent Images

1. An apparatus comprising:

  • an aes encrypt data path to receive a data block and an encrypt round key for an aes encrypt round, the aes encrypt data path to perform a sequence of round operations on the received data block using the encrypt round key to provide a next encrypted data to a next aes encrypt round;

    an aes decrypt data path to receive the data block and a decrypt round key for an aes decrypt round, the aes decrypt data path to perform a sequence of inverse round operations on the received data block using the decrypt round key in parallel with the aes encrypt data path to provide a next decrypted data to a next aes decrypt round, a first round operation performed on the received data block in the aes encrypt data path while an inverse first round operation is performed in parallel on the received data block in the aes decrypt data path, the aes encrypt data path and the aes decrypt data path are independent, the data block received in parallel by both the aes encrypt data path and the aes decrypt data path has a same value and one state is shared across the aes encrypt data path and the aes decrypt data path, the first round operation is shift rows;

    a last aes encrypt round having fewer stages of micro-operations than previous aes encrypt rounds, the last aes encrypt round being separated from the aes encrypt data path and to receive a subbytes operation result for the last aes encrypt round and to perform an exclusive OR (XOR) operation on the subbytes operation result and the last encrypt round key to produce an encrypted result;

    a last aes decrypt round having fewer stages of micro-operations than previous aes decrypt rounds, the last aes decrypt round being separated from the aes decrypt data path and to receive an inverse subbytes operation result for the last aes decrypt round and to perform an exclusive OR (XOR) operation on the inverse subbytes operation result and the last decrypt round key to produce a decrypted result; and

    a selector with a selectable mode to select between outputting the encrypted result and the decrypted result.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×