MCUX CLNS MCUX Crypto Library Normal Secure |

Data Structures | Macros | Typedefs
mcuxClHash_Types.h File Reference

Type definitions for the mcuxClHash component. More...

`#include <stdint.h>`
`#include <stddef.h>`
`#include <stdbool.h>`
`#include <mcuxClSession_Types.h>`

Go to the source code of this file.

## Data Structures

struct | mcuxClHash_ContextBuffer
struct | mcuxClHash_ContextData
struct | mcuxClHash_Context
struct | mcuxClHash_Algo

## Macros

#define | MCUXCLHASH_STATUS_OK
| Hash operation successful. More...
#define | MCUXCLHASH_STATUS_ERROR
| Error occured during Hash operation. More...
#define | MCUXCLHASH_STATUS_FAULT_ATTACK
| Fault attack (unexpected behaviour) detected. More...
#define | MCUXCLHASH_INIT
#define | MCUXCLHASH_UPDATE
#define | MCUXCLHASH_FINALIZE
#define | MCUXCLHASH_COUNTER_SIZE_SHA_256
#define | MCUXCLHASH_COUNTER_SIZE_SHA_224
#define | MCUXCLHASH_COUNTER_SIZE_SHA_512
#define | MCUXCLHASH_COUNTER_SIZE_SHA_384

## Typedefs

typedef struct mcuxClHash_Algo | mcuxClHash_Algo_t
| Hash Algorithm type. More...
typedef struct mcuxClHash_Context | mcuxClHash_Context_t
| Hash Context type. More...
typedef uint64_t | mcuxClHash_Status_Protected_t
| Hash Protected Status type. More...
typedef uint32_t | mcuxClHash_Status_t
| Hash Status type. More...
typedef struct mcuxClHash_ContextBuffer | mcuxClHash_ContextBuffer_t
typedef struct mcuxClHash_ContextData | mcuxClHash_ContextData_t
typedef mcuxClHash_Status_Protected_t(* | mcuxClHash_AlgoEngine_t) (uint32_t options, const uint8_t *const in, uint32_t inSize, uint8_t *const out)
typedef mcuxClHash_Status_Protected_t(* | mcuxClHash_AlgoSkeleton_t) (mcuxClSession_Handle_t session, const mcuxClHash_Algo_t *algo, mcuxClHash_ContextData_t *context, mcuxClHash_ContextBuffer_t *buffer, const uint8_t *const in, uint32_t inSize, uint8_t *const out, uint8_t *const rtf, uint32_t options)
typedef mcuxClHash_Status_Protected_t(* | mcuxClHash_AlgoDmaProtection_t) (uint8_t *startAddress, size_t expectedLength)

## Detailed Description

Type definitions for the mcuxClHash component.