MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClEls_CipherOption_t Union Reference

Command option bit field for mcuxClEls_Cipher_Async. More...

#include <mcuxClEls_Cipher.h>

Data Fields

struct {
   uint32_t   value
 Accesses the bit field as a full word. More...
 
word
 Access mcuxClEls_CipherOption_t word-wise. More...
 
struct {
   uint32_t   __pad0__:1
 RFU. More...
 
   uint32_t   dcrpt:1
 Define operation mode. More...
 
   uint32_t   cphmde:2
 Define cipher mode. More...
 
   uint32_t   cphsoe:1
 Define whether the ELS internal cipher state should be extracted to external memory or kept internally. More...
 
   uint32_t   cphsie:1
 Define whether an external provided cipher state should be imported from external memory. More...
 
   uint32_t   __pad1__:7
 RFU. More...
 
   uint32_t   extkey:1
 Define whether an external key from memory or ELS internal key should be used. More...
 
   uint32_t   __pad2__:18
 RFU. More...
 
bits
 Access mcuxClEls_CipherOption_t bit-wise. More...
 

Detailed Description

Field Documentation

◆ value

uint32_t mcuxClEls_CipherOption_t::value

Accesses the bit field as a full word.

Examples
mcuxClPsaDriver_keygen_export_public_key_oracle_example.c.

◆ word

struct { ... } mcuxClEls_CipherOption_t::word

◆ __pad0__

uint32_t mcuxClEls_CipherOption_t::__pad0__

RFU.

◆ dcrpt

◆ cphmde

◆ cphsoe

uint32_t mcuxClEls_CipherOption_t::cphsoe

Define whether the ELS internal cipher state should be extracted to external memory or kept internally.

◆ cphsie

uint32_t mcuxClEls_CipherOption_t::cphsie

Define whether an external provided cipher state should be imported from external memory.

◆ __pad1__

uint32_t mcuxClEls_CipherOption_t::__pad1__

RFU.

◆ extkey

uint32_t mcuxClEls_CipherOption_t::extkey

Define whether an external key from memory or ELS internal key should be used.

Examples
mcuxClEls_Cipher_Aes128_Cbc_Encrypt_example.c, mcuxClEls_Cipher_Aes128_Ecb_Encrypt_example.c, and mcuxClPsaDriver_keygen_export_public_key_oracle_example.c.

◆ __pad2__

uint32_t mcuxClEls_CipherOption_t::__pad2__

RFU.

◆ bits