This file contains the prototype of crypto_util driver APIs.
|
| 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...
|
| |
| uint32_t | Crypto_MGF1 (Crypto_ShaCallback shaCbFxn, uint32_t hashLenInBytes, uint8_t *seedBuf, uint32_t seedLenInBytes, uint8_t *mask, uint32_t maskLenInBytes) |
| | MGF1 mask generation function, refer to RFC 8017 Appendix B.2.1 https://www.rfc-editor.org/rfc/rfc8017#appendix-B.2.1. More...
|
| |
| uint32_t | Crypto_PSSPaddingForSign (Crypto_ShaCallback shaCbFxn, uint32_t typeOfAlgo, const struct Crypto_PSSSaltInfo *saltInfo, uint32_t modBits, uint32_t emLenInBytes, uint8_t *output) |
| | Builds the EMSA-PSS encoding for RSA signing, refer to RFC 8017 Section 9.1.1 https://www.rfc-editor.org/rfc/rfc8017#section-9.1.1. More...
|
| |
| uint32_t | Crypto_PSSVerify (Crypto_ShaCallback shaCbFxn, uint32_t typeOfAlgo, const uint8_t *msgHash, uint32_t saltLenInBytes, uint32_t modBits, const uint8_t *EM, uint32_t emLenInBytes) |
| | Verifies an EMSA-PSS encoding for RSA signature verification, refer to RFC 8017 Section 9.1.2 https://www.rfc-editor.org/rfc/rfc8017#section-9.1.2. More...
|
| |