UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AES.cpp File Reference
#include "Misc/AES.h"
#include "Misc/AssertionMacros.h"
#include "Misc/CString.h"
#include "HAL/PlatformMemory.h"

Classes

struct  FAesExpandedKey
 

Macros

#define FORCE_SW_AES_SUPPORT   1
 
#define DETECT_HW_AES_SUPPORT_IN_RUNTIME   0
 
#define AES256_ROUND_COUNT   14
 
#define AES_ENC(a, b, c, d)
 
#define AES_ENC_LAST(a, b, c, d)
 
#define AES_DEC(a, b, c, d)
 
#define AES_DEC_LAST(a, b, c, d)
 

Typedefs

typedef void AesFunc(const uint8 *Key, uint8 *Contents, uint64 NumBytes)
 

Macro Definition Documentation

◆ AES256_ROUND_COUNT

#define AES256_ROUND_COUNT   14

◆ AES_DEC

#define AES_DEC (   a,
  b,
  c,
 
)
Value:
( \
AesITbox[0][(uint8)(a >> 0)] ^ \
AesITbox[1][(uint8)(b >> 8)] ^ \
AesITbox[2][(uint8)(c >> 16)] ^ \
AesITbox[3][(uint8)(d >> 24)] \
)
uint8_t uint8
Definition binka_ue_file_header.h:8

◆ AES_DEC_LAST

#define AES_DEC_LAST (   a,
  b,
  c,
 
)
Value:
( \
(AesISbox[(uint8)(a >> 0)] << 0) ^ \
(AesISbox[(uint8)(b >> 8)] << 8) ^ \
(AesISbox[(uint8)(c >> 16)] << 16) ^ \
(AesISbox[(uint8)(d >> 24)] << 24) \
)

◆ AES_ENC

#define AES_ENC (   a,
  b,
  c,
 
)
Value:
( \
AesTbox[0][(uint8)(a >> 0)] ^ \
AesTbox[1][(uint8)(b >> 8)] ^ \
AesTbox[2][(uint8)(c >> 16)] ^ \
AesTbox[3][(uint8)(d >> 24)] \
)

◆ AES_ENC_LAST

#define AES_ENC_LAST (   a,
  b,
  c,
 
)
Value:
( \
(AesSbox[(uint8)(a >> 0)] << 0) ^ \
(AesSbox[(uint8)(b >> 8)] << 8) ^ \
(AesSbox[(uint8)(c >> 16)] << 16) ^ \
(AesSbox[(uint8)(d >> 24)] << 24) \
)

◆ DETECT_HW_AES_SUPPORT_IN_RUNTIME

#define DETECT_HW_AES_SUPPORT_IN_RUNTIME   0

◆ FORCE_SW_AES_SUPPORT

#define FORCE_SW_AES_SUPPORT   1

Typedef Documentation

◆ AesFunc

typedef void AesFunc(const uint8 *Key, uint8 *Contents, uint64 NumBytes)