Go to the source code of this file.
|
static void | cookie_precompute_key (uint8_t *, const uint8_t[COOKIE_INPUT_SIZE], const char *) |
|
static void | cookie_macs_mac1 (message_macs_t *, const void *, size_t, const uint8_t[COOKIE_KEY_SIZE]) |
|
static void | cookie_macs_mac2 (message_macs_t *, const void *, size_t, const uint8_t[COOKIE_COOKIE_SIZE]) |
|
static void | cookie_checker_make_cookie (vlib_main_t *vm, cookie_checker_t *, uint8_t[COOKIE_COOKIE_SIZE], ip4_address_t ip4, u16 udp_port) |
|
void | cookie_maker_init (cookie_maker_t *cp, const uint8_t key[COOKIE_INPUT_SIZE]) |
|
void | cookie_checker_update (cookie_checker_t *cc, uint8_t key[COOKIE_INPUT_SIZE]) |
|
void | cookie_maker_mac (cookie_maker_t *cp, message_macs_t *cm, void *buf, size_t len) |
|
enum cookie_mac_state | cookie_checker_validate_macs (vlib_main_t *vm, cookie_checker_t *cc, message_macs_t *cm, void *buf, size_t len, bool busy, ip4_address_t ip4, u16 udp_port) |
|
◆ cookie_checker_make_cookie()
◆ cookie_checker_update()
void cookie_checker_update |
( |
cookie_checker_t * |
cc, |
|
|
uint8_t |
key[COOKIE_INPUT_SIZE] |
|
) |
| |
◆ cookie_checker_validate_macs()
◆ cookie_macs_mac1()
static void cookie_macs_mac1 |
( |
message_macs_t * |
cm, |
|
|
const void * |
buf, |
|
|
size_t |
len, |
|
|
const uint8_t |
key[COOKIE_KEY_SIZE] |
|
) |
| |
|
static |
◆ cookie_macs_mac2()
static void cookie_macs_mac2 |
( |
message_macs_t * |
cm, |
|
|
const void * |
buf, |
|
|
size_t |
len, |
|
|
const uint8_t |
key[COOKIE_COOKIE_SIZE] |
|
) |
| |
|
static |
◆ cookie_maker_init()
void cookie_maker_init |
( |
cookie_maker_t * |
cp, |
|
|
const uint8_t |
key[COOKIE_INPUT_SIZE] |
|
) |
| |
◆ cookie_maker_mac()
◆ cookie_precompute_key()
static void cookie_precompute_key |
( |
uint8_t * |
key, |
|
|
const uint8_t |
input[COOKIE_INPUT_SIZE], |
|
|
const char * |
label |
|
) |
| |
|
static |