Go to the source code of this file.
|
typedef void * | Crypto_ShaHandle |
| Handle to the Crypto SHA driver returned by Crypto_shaOpen() More...
|
|
typedef int32_t(* | Crypto_ShaOpenFxn) (Crypto_ShaContext *ctx, const Crypto_ShaParams *params) |
| callback functions declarations More...
|
|
typedef int32_t(* | Crypto_ShaCloseFxn) (Crypto_ShaContext *ctx) |
|
typedef int32_t(* | Crypto_ShaStartFxn) (Crypto_ShaContext *ctx) |
|
typedef int32_t(* | Crypto_ShaUpdateFxn) (Crypto_ShaContext *ctx, const uint8_t *input, uint32_t ilen) |
|
typedef int32_t(* | Crypto_ShaFinishFxn) (Crypto_ShaContext *ctx, uint8_t *output) |
|
typedef int32_t(* | Crypto_ShaSingleShotFxn) (Crypto_ShaContext *ctx, const uint8_t *input, uint32_t ilen, uint8_t *output) |
|
typedef int32_t(* | Crypto_hmacShaFxn) (Crypto_ShaContext *ctx, const uint8_t *input, uint32_t ilen, uint8_t *output) |
|
|
void | Crypto_ShaParams_init (Crypto_ShaParams *params) |
| Set default parameters in the Crypto_ShaParams structure. More...
|
|
Crypto_ShaHandle | Crypto_shaOpen (Crypto_ShaContext *ctx, const Crypto_ShaParams *params) |
| This function gives the configuration based on type. More...
|
|
int32_t | Crypto_shaClose (Crypto_ShaHandle handle) |
| This function clears a Secure Hash Algorithm (SHA ) context. More...
|
|
int32_t | Crypto_shaStarts (Crypto_ShaHandle handle) |
| This function starts a Secure Hash Algorithm (SHA ) checksum calculation. More...
|
|
int32_t | Crypto_shaUpdate (Crypto_ShaHandle handle, const uint8_t *input, uint32_t ilen) |
| This function feeds an input buffer into an ongoing Secure Hash Algorithm (SHA ) checksum calculation. More...
|
|
int32_t | Crypto_shaFinish (Crypto_ShaHandle handle, uint8_t *output) |
| This function finishes the Secure Hash Algorithm (SHA ) operation, and writes the result to the output buffer. More...
|
|
int32_t | Crypto_shaSingleShot (Crypto_ShaHandle handle, const uint8_t *input, uint32_t ilen, uint8_t *output) |
| This function calculates the Secure Hash Algorithm (SHA) checksum of a buffer. More...
|
|
int32_t | Crypto_hmacSha (Crypto_ShaHandle handle, const uint8_t *input, uint32_t ilen, uint8_t *output) |
| This function calculates the Keyed-Hash Message Authentication Code Secure Hash Algorithm (HMAC-SHA) checksum of a buffer. More...
|
|