|
openHiTLS API openHiTLS 0.1.0-Alpha1
|

Go to the source code of this file.
Typedefs | |
| typedef struct EAL_MdCtx | CRYPT_EAL_MdCTX |
Functions | |
| CRYPT_EAL_MdCTX * | CRYPT_EAL_MdNewCtx (CRYPT_MD_AlgId id) |
| Create the MD context. | |
| bool | CRYPT_EAL_MdIsValidAlgId (CRYPT_MD_AlgId id) |
| Check whether the id is valid MD algorithm ID. | |
| CRYPT_MD_AlgId | CRYPT_EAL_MdGetId (CRYPT_EAL_MdCTX *ctx) |
| Return the MD algorithm ID. | |
| int32_t | CRYPT_EAL_MdCopyCtx (CRYPT_EAL_MdCTX *to, const CRYPT_EAL_MdCTX *from) |
| Copy the MD context. | |
| CRYPT_EAL_MdCTX * | CRYPT_EAL_MdDupCtx (const CRYPT_EAL_MdCTX *ctx) |
| Copy the MD context. | |
| void | CRYPT_EAL_MdFreeCtx (CRYPT_EAL_MdCTX *ctx) |
| Release the MD context. | |
| int32_t | CRYPT_EAL_MdInit (CRYPT_EAL_MdCTX *ctx) |
| Initialize the MD context. | |
| int32_t | CRYPT_EAL_MdUpdate (CRYPT_EAL_MdCTX *ctx, const uint8_t *data, uint32_t len) |
| Continuously input the data to be digested. | |
| int32_t | CRYPT_EAL_MdFinal (CRYPT_EAL_MdCTX *ctx, uint8_t *out, uint32_t *len) |
| Complete the digest and output the final digest result. | |
| uint32_t | CRYPT_EAL_MdGetDigestSize (CRYPT_MD_AlgId id) |
| Obtain the digest length of the algorithm output. | |
| int32_t | CRYPT_EAL_Md (CRYPT_MD_AlgId id, const uint8_t *in, uint32_t inLen, uint8_t *out, uint32_t *outLen) |
| Calculate the data digest. | |
| uint32_t | CRYPT_EAL_MdDeinit (CRYPT_EAL_MdCTX *ctx) |
| Deinitialize the function. | |