|
SharkSSL™ Embedded SSL/TLS Stack
|
POLY1305.
Data Structures | |
| struct | SharkSslPoly1305Ctx |
| POLY1305. More... | |
Typedefs | |
| typedef struct SharkSslPoly1305Ctx | SharkSslPoly1305Ctx |
| POLY1305. | |
Functions | |
| SHARKSSL_API void | SharkSslPoly1305Ctx_constructor (SharkSslPoly1305Ctx *ctx, const U8 key[32]) |
| Initialize. More... | |
| SHARKSSL_API void | SharkSslPoly1305Ctx_append (SharkSslPoly1305Ctx *ctx, const U8 *in, U32 len) |
| append | |
| SHARKSSL_API void | SharkSslPoly1305Ctx_finish (SharkSslPoly1305Ctx *ctx, U8 digest[SHARKSSL_POLY1305_HASH_LEN]) |
| finish | |
| SHARKSSL_API int | sharkssl_poly1305 (const U8 *data, U32 len, U8 *digest, const U8 key[32]) |
| poly1305 | |
| SHARKSSL_API void SharkSslPoly1305Ctx_constructor | ( | SharkSslPoly1305Ctx * | ctx, |
| const U8 | key[32] | ||
| ) |
Initialize.
| ctx | Uninitialized data of size sizeof(SharkSslPoly1305Ctx). |
| key | 16-byte key + 16-byte nonce |