HMAC algorithm.
More...
#include <mbed-common.hpp>
|
| Hmac (const uint8_t *key, size_t keyLen) |
| Start HMAC operation and set key. More...
|
|
| ~Hmac () |
|
void | update (const uint8_t *chunk, size_t size) |
| Append bytes into hash state. More...
|
|
bool | final (uint8_t result[mdSize]) |
| Finalize HMAC operation and obtain HMAC result. More...
|
|
template<mbedtls_md_type_t mdType, size_t mdSize>
class ndnph::mbedtls::Hmac< mdType, mdSize >
HMAC algorithm.
- Template Parameters
-
mdType | message digest type identifier. |
mdSize | checksum size. |
◆ Hmac()
template<mbedtls_md_type_t mdType, size_t mdSize>
Start HMAC operation and set key.
◆ ~Hmac()
template<mbedtls_md_type_t mdType, size_t mdSize>
◆ final()
template<mbedtls_md_type_t mdType, size_t mdSize>
Finalize HMAC operation and obtain HMAC result.
- Returns
- whether success.
- Postcondition
- this object is ready for new HMAC operation with same key.
◆ update()
template<mbedtls_md_type_t mdType, size_t mdSize>
Append bytes into hash state.
The documentation for this class was generated from the following file: