77 #define srtp_auth_type_alloc(at, a, klen, outlen) \ 78 ((at)->alloc((a), (klen), (outlen))) 80 #define srtp_auth_init(a, key) \ 81 (((a)->type)->init((a)->state, (key), ((a)->key_len))) 83 #define srtp_auth_compute(a, buf, len, res) \ 84 (((a)->type)->compute((a)->state, (buf), (len), (a)->out_len, (res))) 86 #define srtp_auth_update(a, buf, len) \ 87 (((a)->type)->update((a)->state, (buf), (len))) 89 #define srtp_auth_start(a)(((a)->type)->start((a)->state)) 91 #define srtp_auth_dealloc(c) (((c)->type)->dealloc(c)) srtp_err_status_t(* srtp_auth_dealloc_func)(srtp_auth_pointer_t ap)
Definition: auth.h:65
srtp_err_status_t(* srtp_auth_update_func)(void *state, const uint8_t *buffer, int octets_to_auth)
Definition: auth.h:72
const struct srtp_auth_type_t * srtp_auth_type_pointer
Definition: auth.h:56
int key_length_octets
Definition: auth.h:108
srtp_err_status_t(* srtp_auth_start_func)(void *state)
Definition: auth.h:74
const uint8_t * tag
Definition: auth.h:113
srtp_auth_type_id_t id
Definition: auth.h:127
uint32_t srtp_auth_type_id_t
An srtp_auth_type_id_t is an identifier for a particular authentication function. ...
Definition: srtp.h:235
srtp_err_status_t srtp_auth_type_self_test(const srtp_auth_type_t *at)
Definition: auth.c:186
srtp_auth_dealloc_func dealloc
Definition: auth.h:120
srtp_auth_alloc_func alloc
Definition: auth.h:119
srtp_auth_init_func init
Definition: auth.h:121
int srtp_auth_get_prefix_length(const struct srtp_auth_t *a)
int prefix_len
Definition: auth.h:135
typename detail::at_dispatch< Seq, K, detail::has_at_method< Seq >::value >::type at
Definition: Brigand.h:300
DOMString tag
Definition: Notification.idl:66
srtp_auth_start_func start
Definition: auth.h:124
int out_len
Definition: auth.h:133
const char * description
Definition: auth.h:125
srtp_err_status_t(* srtp_auth_init_func)(void *state, const uint8_t *key, int key_len)
Definition: auth.h:63
int tag_length_octets
Definition: auth.h:112
int srtp_auth_get_key_length(const struct srtp_auth_t *a)
struct srtp_auth_type_t srtp_auth_type_t
unsigned char uint8_t
Definition: ptypes.h:89
struct srtp_auth_test_case_t srtp_auth_test_case_t
int key_len
Definition: auth.h:134
struct srtp_auth_t * srtp_auth_pointer_t
Definition: auth.h:57
srtp_err_status_t(* srtp_auth_compute_func)(void *state, const uint8_t *buffer, int octets_to_auth, int tag_len, uint8_t *tag)
Definition: auth.h:68
GLboolean GLboolean GLboolean GLboolean a
Definition: gl2ext.h:306
struct srtp_auth_t srtp_auth_t
int srtp_auth_get_tag_length(const struct srtp_auth_t *a)
srtp_auth_compute_func compute
Definition: auth.h:122
#define buffer
Definition: xmlparse.c:622
const srtp_auth_type_t * type
Definition: auth.h:131
srtp_err_status_t(* srtp_auth_alloc_func)(srtp_auth_pointer_t *ap, int key_len, int out_len)
Definition: auth.h:60
int data_length_octets
Definition: auth.h:110
srtp_err_status_t srtp_replace_auth_type(const srtp_auth_type_t *ct, srtp_auth_type_id_t id)
Definition: crypto_kernel.c:451
const srtp_auth_test_case_t * test_data
Definition: auth.h:126
srtp_err_status_t
Definition: srtp.h:245
const uint8_t * key
Definition: auth.h:109
srtp_auth_update_func update
Definition: auth.h:123
const uint8_t * data
Definition: auth.h:111
CFArrayRef CFTypeRef key
Definition: AVFoundationCFSoftLinking.h:129
srtp_err_status_t srtp_auth_type_test(const srtp_auth_type_t *at, const srtp_auth_test_case_t *test_data)
Definition: auth.c:87
void * state
Definition: auth.h:132
string state
Definition: buildtests.py:34
const struct srtp_auth_test_case_t * next_test_case
Definition: auth.h:114