AES

Files CCore/inc/crypton/AES.h CCore/src/crypton/AES.cpp

Files CCore/inc/crypton/PlatformAES.h

Software AES implementation

There are six AES-related types. All of them are BlockCipher<....> and implement AES cipher algorithms.


using AES128 = BlockCipher<....> ;

using AES192 = BlockCipher<....> ;

using AES256 = BlockCipher<....> ;

using AESInverse128 = BlockCipher<....> ;

using AESInverse192 = BlockCipher<....> ;

using AESInverse256 = BlockCipher<....> ;

AES128 implements direct AES-128 cipher.

AES192 implements direct AES-192 cipher.

AES256 implements direct AES-256 cipher.

AESInverse128 implements inverse AES-128 cipher.

AESInverse192 implements inverse AES-192 cipher.

AESInverse256 implements inverse AES-256 cipher.

Platform AES

The file PlatformAES.h contains stub definitions for AES cipher types.


using PlatformAES128 = AES128 ;
using PlatformAES192 = AES192 ;
using PlatformAES256 = AES256 ;

using PlatformAESInverse128 = AESInverse128 ;
using PlatformAESInverse192 = AESInverse192 ;
using PlatformAESInverse256 = AESInverse256 ; 

A target may override this header file and provide its own definitions with efficient platform-dependent AES implementation.