Add AES-NI key expansion for 256 bits

This commit is contained in:
Manuel Pégourié-Gonnard 2013-12-29 13:50:32 +01:00
parent 47a3536a31
commit 4a5b995c26
2 changed files with 74 additions and 0 deletions

View file

@ -55,6 +55,11 @@ extern "C" {
/**
* \brief AES context structure
*
* \note buf is able to hold 32 extra bytes, which can be used:
* - for alignment purposes if VIA padlock is used, and/or
* - to simplify key expansion in the 256-bit case by
* generating an extra round key
*/
typedef struct
{