#include <openssl/poly1305.h>
#include <string.h>
#include <openssl/cpu.h>
#include "internal.h"
#include "../internal.h"
Go to the source code of this file.
Classes | |
struct | poly1305_state_st |
Functions | |
void | CRYPTO_poly1305_finish (poly1305_state *statep, uint8_t mac[16]) |
void | CRYPTO_poly1305_init (poly1305_state *statep, const uint8_t key[32]) |
void | CRYPTO_poly1305_update (poly1305_state *statep, const uint8_t *in, size_t in_len) |
static uint64_t | mul32x32_64 (uint32_t a, uint32_t b) |
OPENSSL_STATIC_ASSERT (sizeof(struct poly1305_state_st)+63<=sizeof(poly1305_state), "poly1305_state isn't large enough to hold aligned poly1305_state_st") | |
static struct poly1305_state_st * | poly1305_aligned_state (poly1305_state *state) |
static void | poly1305_update (struct poly1305_state_st *state, const uint8_t *in, size_t len) |
static void | U32TO8_LE (uint8_t *m, uint32_t v) |
static uint32_t | U8TO32_LE (const uint8_t *m) |
void CRYPTO_poly1305_finish | ( | poly1305_state * | statep, |
uint8_t | mac[16] | ||
) |
Definition at line 249 of file poly1305.c.
void CRYPTO_poly1305_init | ( | poly1305_state * | statep, |
const uint8_t | key[32] | ||
) |
Definition at line 159 of file poly1305.c.
void CRYPTO_poly1305_update | ( | poly1305_state * | statep, |
const uint8_t * | in, | ||
size_t | in_len | ||
) |
Definition at line 205 of file poly1305.c.
Definition at line 42 of file poly1305.c.
OPENSSL_STATIC_ASSERT | ( | sizeof(struct poly1305_state_st)+63<=sizeof(poly1305_state) | , |
"poly1305_state isn't large enough to hold aligned poly1305_state_st" | |||
) |
|
inlinestatic |
Definition at line 57 of file poly1305.c.
|
static |
Definition at line 65 of file poly1305.c.
Definition at line 38 of file poly1305.c.
Definition at line 32 of file poly1305.c.