This file contains the prototype of crypto_util driver APIs.
Go to the source code of this file.
Macros | |
crypto Algo Types | |
#define | HASH_ALG_SHA1 (0x0U) |
Hash Algo SHA-1. More... | |
#define | HASH_ALG_SHA2_256 (0x1U) |
Hash Algo SHA-256. More... | |
#define | HASH_ALG_SHA2_512 (0x2U) |
Hash Algo SHA-512. More... | |
Functions | |
void | Crypto_Uint8ToUint32 (const uint8_t *source, uint32_t sourceLengthInBytes, uint32_t *dest) |
Function to convert uint8_t to uint32_t format. More... | |
void | Crypto_Uint32ToUint8 (const uint32_t *src, uint32_t sourceLengthInBytes, uint8_t *dest) |
Function to convert uint32_t to uint8_t format. More... | |
void | Crypto_Uint32ToBigInt (uint32_t *source, uint32_t sourceLengthInWords, uint32_t *dest) |
Function to convert uint32_t to Bigint format. More... | |
void | Crypto_bigIntToUint32 (uint32_t *source, uint32_t sourceLengthInWords, uint32_t *dest) |
Function to convert Bigint to uint32_t format. More... | |
void | Crypto_PKCSPaddingForSign (const uint8_t *shaHash, uint32_t keyLengthInBytes, uint32_t typeOfAlgo, uint8_t *output) |
Padding function for sign. More... | |
void | Crypto_PKCSPaddingForMessage (const uint8_t *message, uint32_t msgLengthInBytes, uint32_t keyLengthInBytes, uint8_t *output) |
Padding function for Message. More... | |