![]() |
![]() |
|
CC23x0r2DriverLibrary
|

Go to the source code of this file.
Data Structures | |
| struct | poly1305_state_internal_t |
Macros | |
| #define | POLY1305_NOINLINE |
| #define | poly1305_block_size 16 |
Functions | |
| static unsigned long | U8TO32 (const unsigned char *p) |
| static void | U32TO8 (unsigned char *p, unsigned long v) |
| void | poly1305_init (poly1305_context *ctx, const unsigned char key[32]) |
| static void | poly1305_blocks (poly1305_state_internal_t *st, const unsigned char *m, size_t bytes) |
| POLY1305_NOINLINE void | poly1305_finish (poly1305_context *ctx, unsigned char mac[16]) |
| #define POLY1305_NOINLINE |
| #define poly1305_block_size 16 |
Referenced by poly1305_blocks(), poly1305_finish(), and poly1305_update().
|
static |
Referenced by poly1305_blocks(), and poly1305_init().
|
static |
Referenced by poly1305_finish().
| void poly1305_init | ( | poly1305_context * | ctx, |
| const unsigned char | key[32] | ||
| ) |
|
static |
References poly1305_state_internal_t::final, poly1305_state_internal_t::h, poly1305_block_size, poly1305_state_internal_t::r, and U8TO32().
Referenced by poly1305_finish(), and poly1305_update().
| POLY1305_NOINLINE void poly1305_finish | ( | poly1305_context * | ctx, |
| unsigned char | mac[16] | ||
| ) |
References poly1305_state_internal_t::buffer, poly1305_state_internal_t::final, poly1305_state_internal_t::h, poly1305_state_internal_t::leftover, poly1305_state_internal_t::pad, poly1305_block_size, poly1305_blocks(), poly1305_state_internal_t::r, and U32TO8().
Referenced by poly1305_auth(), and poly1305_power_on_self_test().