| NUC472_NUC442_BSP V3.03.003 The Board Support Package for NUC472/NUC442

Modules | Macros
CRYPTO Exported Constants
NUC472/NUC442 Device Driver » CRYPTO Driver
Collaboration diagram for CRYPTO Exported Constants:

## Modules
| CRYPTO Exported Functions

## Macros
#define | PRNG_KEY_SIZE_64
#define | PRNG_KEY_SIZE_128
#define | PRNG_KEY_SIZE_192
#define | PRNG_KEY_SIZE_256
#define | PRNG_SEED_CONT
#define | PRNG_SEED_RELOAD
#define | AES_KEY_SIZE_128
#define | AES_KEY_SIZE_192
#define | AES_KEY_SIZE_256
#define | AES_MODE_ECB
#define | AES_MODE_CBC
#define | AES_MODE_CFB
#define | AES_MODE_OFB
#define | AES_MODE_CTR
#define | AES_MODE_CBC_CS1
#define | AES_MODE_CBC_CS2
#define | AES_MODE_CBC_CS3
#define | AES_NO_SWAP
#define | AES_OUT_SWAP
#define | AES_IN_SWAP
#define | AES_IN_OUT_SWAP
#define | DES_MODE_ECB
#define | DES_MODE_CBC
#define | DES_MODE_CFB
#define | DES_MODE_OFB
#define | DES_MODE_CTR
#define | TDES_MODE_ECB
#define | TDES_MODE_CBC
#define | TDES_MODE_CFB
#define | TDES_MODE_OFB
#define | TDES_MODE_CTR
#define | TDES_NO_SWAP
#define | TDES_WHL_SWAP
#define | TDES_OUT_SWAP
#define | TDES_OUT_WHL_SWAP
#define | TDES_IN_SWAP
#define | TDES_IN_WHL_SWAP
#define | TDES_IN_OUT_SWAP
#define | TDES_IN_OUT_WHL_SWAP
#define | SHA_MODE_SHA1
#define | SHA_MODE_SHA224
#define | SHA_MODE_SHA256
#define | SHA_NO_SWAP
#define | SHA_OUT_SWAP
#define | SHA_IN_SWAP
#define | SHA_IN_OUT_SWAP
#define | CRYPTO_DMA_ONE_SHOT
#define | CRYPTO_DMA_CONTINUE
#define | CRYPTO_DMA_LAST

## Detailed Description

## Macro Definition Documentation

## ◆ AES_IN_OUT_SWAP

#define AES_IN_OUT_SWAP

AES swap both input and output data

Definition at line 57 of file crypto.h.

## ◆ AES_IN_SWAP

#define AES_IN_SWAP

AES swap input data

Definition at line 56 of file crypto.h.

## ◆ AES_KEY_SIZE_128

#define AES_KEY_SIZE_128

AES select 128-bit key length

Definition at line 41 of file crypto.h.

## ◆ AES_KEY_SIZE_192

#define AES_KEY_SIZE_192

AES select 192-bit key length

Definition at line 42 of file crypto.h.

## ◆ AES_KEY_SIZE_256

#define AES_KEY_SIZE_256

AES select 256-bit key length

Definition at line 43 of file crypto.h.

## ◆ AES_MODE_CBC

#define AES_MODE_CBC

AES select CBC mode

Definition at line 46 of file crypto.h.

## ◆ AES_MODE_CBC_CS1

#define AES_MODE_CBC_CS1

AES select CBC CS1 mode

Definition at line 50 of file crypto.h.

## ◆ AES_MODE_CBC_CS2

#define AES_MODE_CBC_CS2

AES select CBC CS2 mode

Definition at line 51 of file crypto.h.

## ◆ AES_MODE_CBC_CS3

#define AES_MODE_CBC_CS3

AES select CBC CS3 mode

Definition at line 52 of file crypto.h.

## ◆ AES_MODE_CFB

#define AES_MODE_CFB

AES select CFB mode

Definition at line 47 of file crypto.h.

## ◆ AES_MODE_CTR

#define AES_MODE_CTR

AES select CTR mode

Definition at line 49 of file crypto.h.

## ◆ AES_MODE_ECB

#define AES_MODE_ECB

AES select ECB mode

Definition at line 45 of file crypto.h.

## ◆ AES_MODE_OFB

#define AES_MODE_OFB

AES select OFB mode

Definition at line 48 of file crypto.h.

## ◆ AES_NO_SWAP

#define AES_NO_SWAP

AES do not swap input and output data

Definition at line 54 of file crypto.h.

## ◆ AES_OUT_SWAP

#define AES_OUT_SWAP

AES swap output data

Definition at line 55 of file crypto.h.

## ◆ CRYPTO_DMA_CONTINUE

#define CRYPTO_DMA_CONTINUE

Do one continuous encrypt/decrypt with DMA

Definition at line 89 of file crypto.h.

## ◆ CRYPTO_DMA_LAST

#define CRYPTO_DMA_LAST

Do last encrypt/decrypt with DMA

Definition at line 90 of file crypto.h.

## ◆ CRYPTO_DMA_ONE_SHOT

#define CRYPTO_DMA_ONE_SHOT

Do one shot encrypt/decrypt with DMA

Definition at line 88 of file crypto.h.

## ◆ DES_MODE_CBC

#define DES_MODE_CBC

DES select CBC mode

Definition at line 60 of file crypto.h.

## ◆ DES_MODE_CFB

#define DES_MODE_CFB

DES select CFB mode

Definition at line 61 of file crypto.h.

## ◆ DES_MODE_CTR

#define DES_MODE_CTR

DES select CTR mode

Definition at line 63 of file crypto.h.

## ◆ DES_MODE_ECB

#define DES_MODE_ECB

DES select ECB mode

Definition at line 59 of file crypto.h.

## ◆ DES_MODE_OFB

#define DES_MODE_OFB

DES select OFB mode

Definition at line 62 of file crypto.h.

## ◆ PRNG_KEY_SIZE_128

#define PRNG_KEY_SIZE_128

Select to generate 128-bit random key

Definition at line 34 of file crypto.h.

## ◆ PRNG_KEY_SIZE_192

#define PRNG_KEY_SIZE_192

Select to generate 192-bit random key

Definition at line 35 of file crypto.h.

## ◆ PRNG_KEY_SIZE_256

#define PRNG_KEY_SIZE_256

Select to generate 256-bit random key

Definition at line 36 of file crypto.h.

## ◆ PRNG_KEY_SIZE_64

#define PRNG_KEY_SIZE_64

Select to generate 64-bit random key

Definition at line 33 of file crypto.h.

## ◆ PRNG_SEED_CONT

#define PRNG_SEED_CONT

PRNG using current seed

Definition at line 38 of file crypto.h.

## ◆ PRNG_SEED_RELOAD

#define PRNG_SEED_RELOAD

PRNG reload new seed

Definition at line 39 of file crypto.h.

## ◆ SHA_IN_OUT_SWAP

#define SHA_IN_OUT_SWAP

SHA swap both input and output data

Definition at line 86 of file crypto.h.

## ◆ SHA_IN_SWAP

#define SHA_IN_SWAP

SHA swap input data

Definition at line 85 of file crypto.h.

## ◆ SHA_MODE_SHA1

#define SHA_MODE_SHA1

SHA select SHA-1 160-bit

Definition at line 79 of file crypto.h.

## ◆ SHA_MODE_SHA224

#define SHA_MODE_SHA224

SHA select SHA-224 224-bit

Definition at line 80 of file crypto.h.

## ◆ SHA_MODE_SHA256

#define SHA_MODE_SHA256

SHA select SHA-256 256-bit

Definition at line 81 of file crypto.h.

## ◆ SHA_NO_SWAP

#define SHA_NO_SWAP

SHA do not swap input and output data

Definition at line 83 of file crypto.h.

## ◆ SHA_OUT_SWAP

#define SHA_OUT_SWAP

SHA swap output data

Definition at line 84 of file crypto.h.

## ◆ TDES_IN_OUT_SWAP

#define TDES_IN_OUT_SWAP

TDES swap both input and output data

Definition at line 76 of file crypto.h.

## ◆ TDES_IN_OUT_WHL_SWAP

#define TDES_IN_OUT_WHL_SWAP

TDES swap input, output and high-low word

Definition at line 77 of file crypto.h.

## ◆ TDES_IN_SWAP

#define TDES_IN_SWAP

TDES swap input data

Definition at line 74 of file crypto.h.

## ◆ TDES_IN_WHL_SWAP

#define TDES_IN_WHL_SWAP

TDES swap input data and high-low word

Definition at line 75 of file crypto.h.

## ◆ TDES_MODE_CBC

#define TDES_MODE_CBC

TDES select CBC mode

Definition at line 65 of file crypto.h.

## ◆ TDES_MODE_CFB

#define TDES_MODE_CFB

TDES select CFB mode

Definition at line 66 of file crypto.h.

## ◆ TDES_MODE_CTR

#define TDES_MODE_CTR

TDES select CTR mode

Definition at line 68 of file crypto.h.

## ◆ TDES_MODE_ECB

#define TDES_MODE_ECB

TDES select ECB mode

Definition at line 64 of file crypto.h.

## ◆ TDES_MODE_OFB

#define TDES_MODE_OFB

TDES select OFB mode

Definition at line 67 of file crypto.h.

## ◆ TDES_NO_SWAP

#define TDES_NO_SWAP

TDES do not swap data

Definition at line 70 of file crypto.h.

## ◆ TDES_OUT_SWAP

#define TDES_OUT_SWAP

TDES swap output data

Definition at line 72 of file crypto.h.

## ◆ TDES_OUT_WHL_SWAP

#define TDES_OUT_WHL_SWAP

TDES swap output data and high-low word

Definition at line 73 of file crypto.h.

## ◆ TDES_WHL_SWAP

#define TDES_WHL_SWAP

TDES swap high-low word

Definition at line 71 of file crypto.h.