36 #ifndef ti_drivers_sha2_SHA2LPF3HSM__include 37 #define ti_drivers_sha2_SHA2LPF3HSM__include 43 #include <ti/devices/DeviceFamily.h> 51 #define SHA2LPF3HSM_MAX_BLOCK_SIZE_BYTES (SHA2_BLOCK_SIZE_BYTES_512) 52 #define SHA2LPF3HSM_MAX_DIGEST_LENGTH_BYTES (SHA2_DIGEST_LENGTH_BYTES_512) 57 #define DMA_MAX_TXN_LENGTH 0x1FFFFFU 68 } SHA2LPF3HSM_HWAttrs;
80 uint8_t digest[SHA2LPF3HSM_MAX_DIGEST_LENGTH_BYTES];
81 uint8_t buffer[SHA2LPF3HSM_MAX_BLOCK_SIZE_BYTES];
82 uint32_t accessTimeout;
83 uint32_t bytesProcessed;
84 uint32_t totalDataLength;
85 int_fast16_t returnStatus;
93 uint16_t bytesInBuffer;
97 volatile bool operationInProgress;
98 #if ((DeviceFamily_PARENT == DeviceFamily_PARENT_CC27XX) || (DeviceFamily_PARENT == DeviceFamily_PARENT_CC35XX)) 99 bool driverCreatedKeyAsset;
101 } SHA2LPF3HSM_Object;
CryptoKey datastructure.
Definition: CryptoKey.h:211
SHA2_ReturnBehavior
The way in which SHA2 function calls return after performing an operation.
Definition: SHA2.h:481
SHA2_HashType
Enum for the hash types supported by the driver.
Definition: SHA2.h:502
void(* SHA2_CallbackFxn)(SHA2_Handle handle, int_fast16_t returnStatus)
The definition of a callback function used by the SHA2 driver when used in SHA2_RETURN_BEHAVIOR_CALLB...
Definition: SHA2.h:577