Data Fields
SHA2_OperationOneStep_ Struct Reference

Struct containing the parameters required to hash a message in one go. More...

#include <SHA2.h>

Data Fields

SHA2_HashSize hashSize
 
size_t totalLength
 
const uint8_t * message
 
uint8_t * digest
 

Detailed Description

Struct containing the parameters required to hash a message in one go.

Field Documentation

§ hashSize

SHA2_HashSize SHA2_OperationOneStep_::hashSize

The hash size to use. This also determines the required size of digest.

§ totalLength

size_t SHA2_OperationOneStep_::totalLength

The length of the message to hash.

§ message

const uint8_t* SHA2_OperationOneStep_::message

Pointer to the message to hash

§ digest

uint8_t* SHA2_OperationOneStep_::digest

Pointer to location output digest will be placed. User must allocate enough space for hash result (ex. 32 bytes for 256, 28 bytes for 224).


The documentation for this struct was generated from the following file:
Copyright 2018, Texas Instruments Incorporated