libnx
v4.7.0
|
Hardware accelerated HMAC-SHA(1, 256) implementation. More...
Go to the source code of this file.
Data Structures | |
struct | HmacSha1Context |
Context for HMAC-SHA1 operations. More... | |
struct | HmacSha256Context |
Context for HMAC-SHA256 operations. More... | |
Macros | |
#define | HMAC_SHA1_KEY_MAX (sizeof(((HmacSha1Context *)NULL)->key)) |
#define | HMAC_SHA256_KEY_MAX (sizeof(((HmacSha256Context *)NULL)->key)) |
Functions | |
void | hmacSha256ContextCreate (HmacSha256Context *out, const void *key, size_t key_size) |
Initialize a HMAC-SHA256 context. | |
void | hmacSha256ContextUpdate (HmacSha256Context *ctx, const void *src, size_t size) |
Updates HMAC-SHA256 context with data to hash. | |
void | hmacSha256ContextGetMac (HmacSha256Context *ctx, void *dst) |
Gets the context's output mac, finalizes the context. | |
void | hmacSha256CalculateMac (void *dst, const void *key, size_t key_size, const void *src, size_t size) |
Simple all-in-one HMAC-SHA256 calculator. | |
void | hmacSha1ContextCreate (HmacSha1Context *out, const void *key, size_t key_size) |
Initialize a HMAC-SHA1 context. | |
void | hmacSha1ContextUpdate (HmacSha1Context *ctx, const void *src, size_t size) |
Updates HMAC-SHA1 context with data to hash. | |
void | hmacSha1ContextGetMac (HmacSha1Context *ctx, void *dst) |
Gets the context's output mac, finalizes the context. | |
void | hmacSha1CalculateMac (void *dst, const void *key, size_t key_size, const void *src, size_t size) |
Simple all-in-one HMAC-SHA1 calculator. | |
Hardware accelerated HMAC-SHA(1, 256) implementation.