|
openHiTLS API openHiTLS 0.1.0-Alpha1
|

Go to the source code of this file.
Typedefs | |
| typedef struct EAL_MacCtx | CRYPT_EAL_MacCtx |
Functions | |
| bool | CRYPT_EAL_MacIsValidAlgId (CRYPT_MAC_AlgId id) |
| Check whether the id is Valid MAC algorithm ID. | |
| CRYPT_EAL_MacCtx * | CRYPT_EAL_MacNewCtx (CRYPT_MAC_AlgId id) |
| Apply for a MAC context. | |
| void | CRYPT_EAL_MacFreeCtx (CRYPT_EAL_MacCtx *ctx) |
| Release the MAC context memory. | |
| int32_t | CRYPT_EAL_MacInit (CRYPT_EAL_MacCtx *ctx, const uint8_t *key, uint32_t len) |
| int32_t | CRYPT_EAL_MacUpdate (CRYPT_EAL_MacCtx *ctx, const uint8_t *in, uint32_t len) |
| Continuously input the MAC data. | |
| int32_t | CRYPT_EAL_MacFinal (CRYPT_EAL_MacCtx *ctx, uint8_t *out, uint32_t *len) |
| Output the MAC result. | |
| void | CRYPT_EAL_MacDeinit (CRYPT_EAL_MacCtx *ctx) |
| Deinitialization function. | |
| int32_t | CRYPT_EAL_MacReinit (CRYPT_EAL_MacCtx *ctx) |
| Re-initialize with the information retained in ctx. | |
| uint32_t | CRYPT_EAL_GetMacLen (const CRYPT_EAL_MacCtx *ctx) |
| Through the context, obtain the output MAC length of the corresponding algorithm. | |