AM263Px MCU+ SDK: dthe_sha.h File Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Structures | Macros | Enumerations | Functions
dthe_sha.h File Reference
APIs for Security Drivers » APIs for DTHE SHA

## Introduction

This file contains the prototype of DTHE SHA driver APIs.

Go to the source code of this file.

## Data Structures
struct | DTHE_SHA_Params
| Parameters required for SHA Driver. More...

## Macros
#define | DTHE_SHA_ALGO_MD5 (0x1U)
| MD5 Flag. More...
#define | DTHE_SHA_ALGO_SHA384 (0x2U)
| SHA-384 Flag. More...
#define | DTHE_SHA_ALGO_SHA1 (0x3U)
| SHA-1 Flag. More...
#define | DTHE_SHA_ALGO_SHA512 (0x4U)
| SHA-512 Flag. More...
#define | DTHE_SHA_ALGO_SHA224 (0x5U)
| SHA-224 Flag. More...
#define | DTHE_SHA_ALGO_SHA256 (0x6U)
| SHA-256 Flag. More...
#define | DTHE_SHA_MAX_DIGEST_SIZE_BYTES (64U)
| The Maximum Digest Size is 64bytes for the SHA512. More...

## Enumerations
enum | DTHE_SHA_Return_t { DTHE_SHA_RETURN_SUCCESS = 0x67A42DD1U, DTHE_SHA_RETURN_FAILURE = 0x06C2B483U }
| DTHE SHA Driver Error code. More...

## Functions
DTHE_SHA_Return_t | DTHE_SHA_open (DTHE_Handle handle)
| Function to Open DTHE SHA Driver. More...
DTHE_SHA_Return_t | DTHE_SHA_compute (DTHE_Handle handle, DTHE_SHA_Params *ptrShaParams, Bool isLastBlock)
| The function is used to execute the SHA Driver with the specified parameters. More...
DTHE_SHA_Return_t | DTHE_HMACSHA_compute (DTHE_Handle handle, DTHE_SHA_Params *ptrShaParams)
| The function is used to execute the HMAC SHA Operations with the specified parameters. More...
DTHE_SHA_Return_t | DTHE_SHA_close (DTHE_Handle handle)
| Function to close DTHE SHA Driver. More...