MCUX CLNS MCUX Crypto Library Normal Secure |

Macros
MCUXCLCSS_HASH_
mcuxClCss » mcuxClCss_Hash » mcuxClCss_Hash_Macros

Defines valid options to be used by mcuxClCss_HashOption_t. More...

## Macros
#define | MCUXCLCSS_HASH_INIT_ENABLE
| Set this option at mcuxClCss_HashOption_t.hashini to initialize the hash. More...
#define | MCUXCLCSS_HASH_INIT_DISABLE
| Set this option at mcuxClCss_HashOption_t.hashini to continue the hash. More...
#define | MCUXCLCSS_HASH_LOAD_ENABLE
| Set this option at mcuxClCss_HashOption_t.hashld to load the hash state from `pDigest`. More...
#define | MCUXCLCSS_HASH_LOAD_DISABLE
| Set this option at mcuxClCss_HashOption_t.hashld to not load the hash state. More...
#define | MCUXCLCSS_HASH_OUTPUT_ENABLE
| Set this option at mcuxClCss_HashOption_t.hashoe to output the hash to `pDigest`. More...
#define | MCUXCLCSS_HASH_OUTPUT_DISABLE
| Set this option at mcuxClCss_HashOption_t.hashoe to not output the hash. More...
#define | MCUXCLCSS_HASH_RTF_UPDATE_ENABLE
| Set this option at mcuxClCss_HashOption_t.rtfupd to update the run-time fingerprint (only supported by mcuxClCss_Hash_Async) More...
#define | MCUXCLCSS_HASH_RTF_UPDATE_DISABLE
| Set this option at mcuxClCss_HashOption_t.rtfupd to not update the run-time fingerprint. More...
#define | MCUXCLCSS_HASH_RTF_OUTPUT_ENABLE
| Set this option at mcuxClCss_HashOption_t.rtfoe to output the run-time fingerprint (only supported by mcuxClCss_Hash_Async) More...
#define | MCUXCLCSS_HASH_RTF_OUTPUT_DISABLE
| Set this option at mcuxClCss_HashOption_t.rtfoe to not output the run-time fingerprint. More...
#define | MCUXCLCSS_HASH_MODE_SHA_224
| Set this option at mcuxClCss_HashOption_t.hashmd to use the hash algorithm SHA-224. More...
#define | MCUXCLCSS_HASH_MODE_SHA_256
| Set this option at mcuxClCss_HashOption_t.hashmd to use the hash algorithm SHA-256. More...
#define | MCUXCLCSS_HASH_MODE_SHA_384
| Set this option at mcuxClCss_HashOption_t.hashmd to use the hash algorithm SHA-384. More...
#define | MCUXCLCSS_HASH_MODE_SHA_512
| Set this option at mcuxClCss_HashOption_t.hashmd to use the hash algorithm SHA-512. More...

## Detailed Description

Defines valid options to be used by mcuxClCss_HashOption_t.

## Macro Definition Documentation

## ◆ MCUXCLCSS_HASH_INIT_ENABLE

#define MCUXCLCSS_HASH_INIT_ENABLE

Set this option at mcuxClCss_HashOption_t.hashini to initialize the hash.

Examples
  hash_sha224_one_block.c, hash_sha256_one_block.c, hash_sha256_sha_direct_one_block.c, hash_sha384_one_block.c, hash_sha384_sha_direct_one_block.c, and hash_sha512_one_block.c.

## ◆ MCUXCLCSS_HASH_INIT_DISABLE

#define MCUXCLCSS_HASH_INIT_DISABLE

Set this option at mcuxClCss_HashOption_t.hashini to continue the hash.

## ◆ MCUXCLCSS_HASH_LOAD_ENABLE

#define MCUXCLCSS_HASH_LOAD_ENABLE

Set this option at mcuxClCss_HashOption_t.hashld to load the hash state from `pDigest`.

## ◆ MCUXCLCSS_HASH_LOAD_DISABLE

#define MCUXCLCSS_HASH_LOAD_DISABLE

Set this option at mcuxClCss_HashOption_t.hashld to not load the hash state.

## ◆ MCUXCLCSS_HASH_OUTPUT_ENABLE

#define MCUXCLCSS_HASH_OUTPUT_ENABLE

Set this option at mcuxClCss_HashOption_t.hashoe to output the hash to `pDigest`.

Examples
  hash_sha224_one_block.c, hash_sha256_one_block.c, hash_sha256_sha_direct_one_block.c, hash_sha384_one_block.c, hash_sha384_sha_direct_one_block.c, and hash_sha512_one_block.c.

## ◆ MCUXCLCSS_HASH_OUTPUT_DISABLE

#define MCUXCLCSS_HASH_OUTPUT_DISABLE

Set this option at mcuxClCss_HashOption_t.hashoe to not output the hash.

## ◆ MCUXCLCSS_HASH_RTF_UPDATE_ENABLE

#define MCUXCLCSS_HASH_RTF_UPDATE_ENABLE

Set this option at mcuxClCss_HashOption_t.rtfupd to update the run-time fingerprint (only supported by mcuxClCss_Hash_Async)

## ◆ MCUXCLCSS_HASH_RTF_UPDATE_DISABLE

#define MCUXCLCSS_HASH_RTF_UPDATE_DISABLE

Set this option at mcuxClCss_HashOption_t.rtfupd to not update the run-time fingerprint.

## ◆ MCUXCLCSS_HASH_RTF_OUTPUT_ENABLE

#define MCUXCLCSS_HASH_RTF_OUTPUT_ENABLE

Set this option at mcuxClCss_HashOption_t.rtfoe to output the run-time fingerprint (only supported by mcuxClCss_Hash_Async)

## ◆ MCUXCLCSS_HASH_RTF_OUTPUT_DISABLE

#define MCUXCLCSS_HASH_RTF_OUTPUT_DISABLE

Set this option at mcuxClCss_HashOption_t.rtfoe to not output the run-time fingerprint.

## ◆ MCUXCLCSS_HASH_MODE_SHA_224

#define MCUXCLCSS_HASH_MODE_SHA_224

Set this option at mcuxClCss_HashOption_t.hashmd to use the hash algorithm SHA-224.

Examples
  hash_sha224_one_block.c.

## ◆ MCUXCLCSS_HASH_MODE_SHA_256

#define MCUXCLCSS_HASH_MODE_SHA_256

Set this option at mcuxClCss_HashOption_t.hashmd to use the hash algorithm SHA-256.

Examples
  hash_sha256_one_block.c, and hash_sha256_sha_direct_one_block.c.

## ◆ MCUXCLCSS_HASH_MODE_SHA_384

#define MCUXCLCSS_HASH_MODE_SHA_384

Set this option at mcuxClCss_HashOption_t.hashmd to use the hash algorithm SHA-384.

Examples
  hash_sha384_one_block.c, and hash_sha384_sha_direct_one_block.c.

## ◆ MCUXCLCSS_HASH_MODE_SHA_512

#define MCUXCLCSS_HASH_MODE_SHA_512

Set this option at mcuxClCss_HashOption_t.hashmd to use the hash algorithm SHA-512.

Examples
  hash_sha512_one_block.c.