MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Hashcrypt_driver

Macros

#define HASHCRYPT_MODE_SHA1   0x1
 Algorithm definitions correspond with the values for Mode field in Control register !
 

Enumerations

enum  hashcrypt_algo_t {
  kHASHCRYPT_Sha1 = HASHCRYPT_MODE_SHA1,
  kHASHCRYPT_Sha256 = HASHCRYPT_MODE_SHA256,
  kHASHCRYPT_Aes = HASHCRYPT_MODE_AES
}
 Algorithm used for Hashcrypt operation. More...
 

Functions

void HASHCRYPT_Init (HASHCRYPT_Type *base)
 Enables clock and disables reset for HASHCRYPT peripheral. More...
 
void HASHCRYPT_Deinit (HASHCRYPT_Type *base)
 Disables clock for HASHCRYPT peripheral. More...
 

Driver version

#define FSL_HASHCRYPT_DRIVER_VERSION   (MAKE_VERSION(2, 1, 1))
 HASHCRYPT driver version. More...
 

Detailed Description

Macro Definition Documentation

#define FSL_HASHCRYPT_DRIVER_VERSION   (MAKE_VERSION(2, 1, 1))

Version 2.1.1.

Current version: 2.1.1

Change log:

  • Version 2.0.0
    • Initial version
  • Version 2.0.1
    • Support loading AES key from unaligned address
  • Version 2.0.2
    • Support loading AES key from unaligned address for different compiler and core variants
  • Version 2.0.3
    • Remove SHA512 and AES ICB algorithm definitions
  • Version 2.0.4
    • Add SHA context switch support
  • Version 2.1.0
    • Update the register name and macro to align with new header.
  • Version 2.1.1
    • Fix MISRA C-2012.

Enumeration Type Documentation

Enumerator
kHASHCRYPT_Sha1 

SHA_1.

kHASHCRYPT_Sha256 

SHA_256.

kHASHCRYPT_Aes 

AES.

Function Documentation

void HASHCRYPT_Init ( HASHCRYPT_Type *  base)

Enable clock and disable reset for HASHCRYPT.

Parameters
baseHASHCRYPT base address
void HASHCRYPT_Deinit ( HASHCRYPT_Type *  base)

Disable clock and enable reset.

Parameters
baseHASHCRYPT base address