Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
Aes.h File Reference
#include "7zTypes.h"

Go to the source code of this file.

Macros

#define AES_BLOCK_SIZE   16
 
#define AES_NUM_IVMRK_WORDS   ((1 + 1 + 15) * 4)
 
#define k_Aes_SupportedFunctions_HW   (1 << 2)
 
#define k_Aes_SupportedFunctions_HW_256   (1 << 3)
 
#define Z7_DECLARE_AES_CODE_FUNC(funcName)
 

Typedefs

typedef void(Z7_FASTCALLAES_SET_KEY_FUNC) (UInt32 *aes, const Byte *key, unsigned keySize)
 
typedef void(Z7_FASTCALLAES_CODE_FUNC) (UInt32 *ivAes, Byte *data, size_t numBlocks)
 

Functions

void AesGenTables (void)
 
void Z7_FASTCALL Aes_SetKey_Enc (UInt32 *aes, const Byte *key, unsigned keySize)
 
void Z7_FASTCALL Aes_SetKey_Dec (UInt32 *aes, const Byte *key, unsigned keySize)
 
void AesCbc_Init (UInt32 *ivAes, const Byte *iv)
 

Variables

AES_CODE_FUNC g_AesCbc_Decode
 
AES_CODE_FUNC g_AesCbc_Encode
 
AES_CODE_FUNC g_AesCtr_Code
 
UInt32 g_Aes_SupportedFunctions_Flags
 

Macro Definition Documentation

◆ AES_BLOCK_SIZE

#define AES_BLOCK_SIZE   16

◆ AES_NUM_IVMRK_WORDS

#define AES_NUM_IVMRK_WORDS   ((1 + 1 + 15) * 4)

◆ k_Aes_SupportedFunctions_HW

#define k_Aes_SupportedFunctions_HW   (1 << 2)

◆ k_Aes_SupportedFunctions_HW_256

#define k_Aes_SupportedFunctions_HW_256   (1 << 3)

◆ Z7_DECLARE_AES_CODE_FUNC

#define Z7_DECLARE_AES_CODE_FUNC ( funcName)
Value:
void Z7_FASTCALL funcName(UInt32 *ivAes, Byte *data, size_t numBlocks);
#define Z7_FASTCALL
Definition 7zTypes.h:308
Definition poolTests.c:28
unsigned int UInt32
Definition bzlib_private.h:45
unsigned char Byte
Definition zconf.h:391

Typedef Documentation

◆ AES_CODE_FUNC

typedef void(Z7_FASTCALL * AES_CODE_FUNC) (UInt32 *ivAes, Byte *data, size_t numBlocks)

◆ AES_SET_KEY_FUNC

typedef void(Z7_FASTCALL * AES_SET_KEY_FUNC) (UInt32 *aes, const Byte *key, unsigned keySize)

Function Documentation

◆ Aes_SetKey_Dec()

void Z7_FASTCALL Aes_SetKey_Dec ( UInt32 * aes,
const Byte * key,
unsigned keySize )

◆ Aes_SetKey_Enc()

void Z7_FASTCALL Aes_SetKey_Enc ( UInt32 * aes,
const Byte * key,
unsigned keySize )

◆ AesCbc_Init()

void AesCbc_Init ( UInt32 * ivAes,
const Byte * iv )

◆ AesGenTables()

void AesGenTables ( void )

Variable Documentation

◆ g_Aes_SupportedFunctions_Flags

UInt32 g_Aes_SupportedFunctions_Flags
extern

◆ g_AesCbc_Decode

AES_CODE_FUNC g_AesCbc_Decode
extern

◆ g_AesCbc_Encode

AES_CODE_FUNC g_AesCbc_Encode
extern

◆ g_AesCtr_Code

AES_CODE_FUNC g_AesCtr_Code
extern