#include "srtp.h"
#include "crypto_types.h"
Go to the source code of this file.
|
#define | srtp_auth_type_alloc(at, a, klen, outlen) ((at)->alloc((a), (klen), (outlen))) |
|
#define | srtp_auth_init(a, key) (((a)->type)->init((a)->state, (key), ((a)->key_len))) |
|
#define | srtp_auth_compute(a, buf, len, res) (((a)->type)->compute((a)->state, (buf), (len), (a)->out_len, (res))) |
|
#define | srtp_auth_update(a, buf, len) (((a)->type)->update((a)->state, (buf), (len))) |
|
#define | srtp_auth_start(a) (((a)->type)->start((a)->state)) |
|
#define | srtp_auth_dealloc(c) (((c)->type)->dealloc(c)) |
|
|
typedef const struct srtp_auth_type_t * | srtp_auth_type_pointer |
|
typedef struct srtp_auth_t * | srtp_auth_pointer_t |
|
typedef srtp_err_status_t(* | srtp_auth_alloc_func) (srtp_auth_pointer_t *ap, int key_len, int out_len) |
|
typedef srtp_err_status_t(* | srtp_auth_init_func) (void *state, const uint8_t *key, int key_len) |
|
typedef srtp_err_status_t(* | srtp_auth_dealloc_func) (srtp_auth_pointer_t ap) |
|
typedef srtp_err_status_t(* | srtp_auth_compute_func) (void *state, const uint8_t *buffer, int octets_to_auth, int tag_len, uint8_t *tag) |
|
typedef srtp_err_status_t(* | srtp_auth_update_func) (void *state, const uint8_t *buffer, int octets_to_auth) |
|
typedef srtp_err_status_t(* | srtp_auth_start_func) (void *state) |
|
typedef struct srtp_auth_test_case_t | srtp_auth_test_case_t |
|
typedef struct srtp_auth_type_t | srtp_auth_type_t |
|
typedef struct srtp_auth_t | srtp_auth_t |
|
◆ srtp_auth_compute
#define srtp_auth_compute |
( |
|
a, |
|
|
|
buf, |
|
|
|
len, |
|
|
|
res |
|
) |
| (((a)->type)->compute((a)->state, (buf), (len), (a)->out_len, (res))) |
◆ srtp_auth_dealloc
#define srtp_auth_dealloc |
( |
|
c | ) |
(((c)->type)->dealloc(c)) |
◆ srtp_auth_init
#define srtp_auth_init |
( |
|
a, |
|
|
|
key |
|
) |
| (((a)->type)->init((a)->state, (key), ((a)->key_len))) |
◆ srtp_auth_start
#define srtp_auth_start |
( |
|
a | ) |
(((a)->type)->start((a)->state)) |
◆ srtp_auth_type_alloc
#define srtp_auth_type_alloc |
( |
|
at, |
|
|
|
a, |
|
|
|
klen, |
|
|
|
outlen |
|
) |
| ((at)->alloc((a), (klen), (outlen))) |
◆ srtp_auth_update
◆ srtp_auth_alloc_func
◆ srtp_auth_compute_func
◆ srtp_auth_dealloc_func
◆ srtp_auth_init_func
◆ srtp_auth_pointer_t
◆ srtp_auth_start_func
◆ srtp_auth_t
◆ srtp_auth_test_case_t
◆ srtp_auth_type_pointer
◆ srtp_auth_type_t
◆ srtp_auth_update_func
◆ srtp_auth_get_key_length()
int srtp_auth_get_key_length |
( |
const struct srtp_auth_t * |
a | ) |
|
◆ srtp_auth_get_prefix_length()
int srtp_auth_get_prefix_length |
( |
const struct srtp_auth_t * |
a | ) |
|
◆ srtp_auth_get_tag_length()
int srtp_auth_get_tag_length |
( |
const struct srtp_auth_t * |
a | ) |
|
◆ srtp_auth_type_self_test()
◆ srtp_auth_type_test()
◆ srtp_replace_auth_type()