Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
crys_hash.h File Reference
This file contains all of the enums and definitions that are used for the CRYS HASH APIs, as well as the APIs themselves. More...
Go to the source code of this file.
Data Structures | |
struct | CRYS_HASHUserContext_t |
Typedefs | |
typedef uint32_t | CRYS_HASH_Result_t [CRYS_HASH_RESULT_SIZE_IN_WORDS] |
typedef struct CRYS_HASHUserContext_t | CRYS_HASHUserContext_t |
Enumerations | |
enum | CRYS_HASH_OperationMode_t { CRYS_HASH_SHA1_mode = 0, CRYS_HASH_SHA224_mode = 1, CRYS_HASH_SHA256_mode = 2, CRYS_HASH_SHA384_mode = 3, CRYS_HASH_SHA512_mode = 4, CRYS_HASH_MD5_mode = 5, CRYS_HASH_NumOfModes, CRYS_HASH_OperationModeLast = 0x7FFFFFFF } |
Functions | |
CIMPORT_C CRYSError_t | CRYS_HASH_Init (CRYS_HASHUserContext_t *ContextID_ptr, CRYS_HASH_OperationMode_t OperationMode) |
This function initializes the HASH machine and the HASH Context. | |
CIMPORT_C CRYSError_t | CRYS_HASH_Update (CRYS_HASHUserContext_t *ContextID_ptr, uint8_t *DataIn_ptr, size_t DataInSize) |
This function processes a block of data to be HASHed. | |
CIMPORT_C CRYSError_t | CRYS_HASH_Finish (CRYS_HASHUserContext_t *ContextID_ptr, CRYS_HASH_Result_t HashResultBuff) |
This function finalizes the hashing process of data block. | |
CIMPORT_C CRYSError_t | CRYS_HASH_Free (CRYS_HASHUserContext_t *ContextID_ptr) |
This function is a utility function that frees the context if the operation has failed. | |
CIMPORT_C CRYSError_t | CRYS_HASH (CRYS_HASH_OperationMode_t OperationMode, uint8_t *DataIn_ptr, size_t DataSize, CRYS_HASH_Result_t HashResultBuff) |
This function processes a single buffer of data. |
Detailed Description
This file contains all of the enums and definitions that are used for the CRYS HASH APIs, as well as the APIs themselves.
Definition in file crys_hash.h.
Generated on Tue Jul 12 2022 12:46:24 by
