MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClEls_HashOption_t Union Reference

Command option bit field for mcuxClEls_Hash_Async and #mcuxClEls_Hash_ShaDirect. More...

#include <mcuxClEls_Hash.h>

Data Fields

struct {
   uint32_t   value
 Accesses the bit field as a full word. More...
 
word
 Access mcuxClEls_HashOption_t word-wise. More...
 
struct {
   uint32_t   __pad0__:2
 RFU. More...
 
   uint32_t   hashini:1
 Defines if the hash engine shall be initialized. More...
 
   uint32_t   hashld:1
 Defines if the hash engine shall be initialized with an externally provided digest. More...
 
   uint32_t   hashmd:2
 Defines which hash algorithm shall be used. More...
 
   uint32_t   hashoe:1
 Defines if the hash digest shall be moved to the output buffer. More...
 
   uint32_t   rtfupd:1
 RTF (Runtime Fingerprint) Update. More...
 
   uint32_t   rtfoe:1
 RTF (Runtime Fingerprint) Output Enabled. More...
 
   uint32_t   __pad1__:23
 RFU. More...
 
bits
 Access mcuxClEls_HashOption_t bit-wise. More...
 

Detailed Description

Command option bit field for mcuxClEls_Hash_Async and #mcuxClEls_Hash_ShaDirect.

Bit field to configure mcuxClEls_Hash_Async and #mcuxClEls_Hash_ShaDirect. See MCUXCLELS_HASH_ for possible options.

Examples
mcuxClEls_Hash_Sha224_One_Block_example.c, mcuxClEls_Hash_Sha256_One_Block_example.c, mcuxClEls_Hash_Sha384_One_Block_example.c, and mcuxClEls_Hash_Sha512_One_Block_example.c.

Field Documentation

◆ value

uint32_t mcuxClEls_HashOption_t::value

Accesses the bit field as a full word.

◆ word

struct { ... } mcuxClEls_HashOption_t::word

Access mcuxClEls_HashOption_t word-wise.

◆ __pad0__

uint32_t mcuxClEls_HashOption_t::__pad0__

RFU.

◆ hashini

uint32_t mcuxClEls_HashOption_t::hashini

◆ hashld

uint32_t mcuxClEls_HashOption_t::hashld

Defines if the hash engine shall be initialized with an externally provided digest.

◆ hashmd

◆ hashoe

uint32_t mcuxClEls_HashOption_t::hashoe

◆ rtfupd

uint32_t mcuxClEls_HashOption_t::rtfupd

RTF (Runtime Fingerprint) Update.

◆ rtfoe

uint32_t mcuxClEls_HashOption_t::rtfoe

RTF (Runtime Fingerprint) Output Enabled.

◆ __pad1__

uint32_t mcuxClEls_HashOption_t::__pad1__

RFU.

◆ bits