PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
Common macro defines
PDL API Reference » Crypto (Cryptography)

## General Description

## Macros
#define | CY_CRYPTO_SYNC_BLOCKING (true)
| Defines Crypto_Sync blocking execution type parameter.
#define | CY_CRYPTO_SYNC_NON_BLOCKING (false)
| Defines Crypto_Sync non-blocking execution type parameter.
#define | CY_CRYPTO_DES_BLOCK_SIZE (8u)
| Defines the Crypto DES block size (in bytes).
#define | CY_CRYPTO_DES_KEY_SIZE (CY_CRYPTO_DES_BLOCK_SIZE)
| Defines the Crypto DES key size (in bytes)
#define | CY_CRYPTO_TDES_KEY_SIZE (24u)
| Defines the Crypto TDES key size (in bytes)
#define | CY_CRYPTO_AES_BLOCK_SIZE (16u)
| Defines the Crypto AES block size (in bytes)
#define | CY_CRYPTO_AES_128_KEY_SIZE (16u)
| Defines the Crypto AES_128 key maximum size (in bytes)
#define | CY_CRYPTO_AES_192_KEY_SIZE (24u)
| Defines the Crypto AES_192 key maximum size (in bytes)
#define | CY_CRYPTO_AES_256_KEY_SIZE (32u)
| Defines the Crypto AES_256 key maximum size (in bytes)
#define | CY_CRYPTO_AES_MAX_KEY_SIZE (CY_CRYPTO_AES_256_KEY_SIZE)
| Defines the Crypto AES key maximum size (in bytes)
#define | CY_CRYPTO_AES_MAX_KEY_SIZE_U32 (uint32_t)(CY_CRYPTO_AES_MAX_KEY_SIZE / 4UL)
| Defines the Crypto AES_256 key maximum size (in four-byte words)
#define | CY_CRYPTO_AES_BLOCK_SIZE_U32 (uint32_t)(CY_CRYPTO_AES_BLOCK_SIZE / 4UL)
| Defines size of the AES block, in four-byte words.
#define | CY_CRYPTO_AES_GCM_IV_SIZE (12u)
| Defines the Crypto AES GCM IV size (in bytes)
#define | CY_CRYPTO_SHA256_BLOCK_SIZE (64u)
| Block size for the SHA256 mode (in bytes)
#define | CY_CRYPTO_SHA256_PAD_SIZE (56uL)
| Pad size for the SHA256 mode (in bytes)
#define | CY_CRYPTO_SHA256_PAD_SIZE (56uL)
| Pad size for the SHA256 mode (in bytes)
#define | CY_CRYPTO_SHA512_BLOCK_SIZE (128u)
| Block size for the SHA512 mode (in bytes)
#define | CY_CRYPTO_SHA512_PAD_SIZE (112uL)
| Pad size for the SHA512 mode (in bytes)
#define | CY_CRYPTO_SHA512_PAD_SIZE (112uL)
| Pad size for the SHA512 mode (in bytes)
#define | CY_CRYPTO_SHA3_STATE_SIZE (200u)
| SHA3 state size for the SHA modes (in bytes)
#define | CY_CRYPTO_SHA3_224_BLOCK_SIZE (144u)
| Block size for the SHA224 mode (in bytes)
#define | CY_CRYPTO_SHA3_256_BLOCK_SIZE (136u)
| Block size for the SHA256 mode (in bytes)
#define | CY_CRYPTO_SHA3_384_BLOCK_SIZE (104u)
| Block size for the SHA384 mode (in bytes)
#define | CY_CRYPTO_SHA3_512_BLOCK_SIZE (72u)
| Block size for the SHA512 mode (in bytes)
#define | CY_CRYPTO_SHA3_MAX_DIGEST_SIZE (64u)
| SHA3 maximum digest size (in bytes)
#define | CY_CRYPTO_SHA384_DIGEST_SIZE (48u)
| Hash size for the SHA384 mode (in bytes)
#define | CY_CRYPTO_SHA512_DIGEST_SIZE (64u)
| Hash size for the SHA512 mode (in bytes)
#define | CY_CRYPTO_SHA512_224_DIGEST_SIZE (28u)
| Hash size for the SHA512_224 mode (in bytes)
#define | CY_CRYPTO_SHA512_256_DIGEST_SIZE (32u)
| Hash size for the SHA512_256 mode (in bytes)
#define | CY_CRYPTO_SHA224_DIGEST_SIZE (28u)
| Hash size for the SHA224 mode (in bytes)
#define | CY_CRYPTO_SHA256_DIGEST_SIZE (32u)
| Hash size for the SHA256 mode (in bytes)
#define | CY_CRYPTO_SHA1_DIGEST_SIZE (20u)
| Hash size for the SHA1 mode (in bytes)
#define | CY_CRYPTO_SHA1_BLOCK_SIZE (64u)
| Block size for the SHA1 mode (in bytes)