1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

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
{