Home
last modified time | relevance | path

Searched refs:auth_t (Results 1 – 12 of 12) sorted by relevance

/external/srtp/crypto/hash/
Dnull_auth.c56 null_auth_alloc(auth_t **a, int key_len, int out_len) { in null_auth_alloc()
64 pointer = (uint8_t*)crypto_alloc(sizeof(null_auth_ctx_t) + sizeof(auth_t)); in null_auth_alloc()
69 *a = (auth_t *)pointer; in null_auth_alloc()
71 (*a)->state = pointer + sizeof (auth_t); in null_auth_alloc()
83 null_auth_dealloc(auth_t *a) { in null_auth_dealloc()
88 sizeof(null_auth_ctx_t) + sizeof(auth_t)); in null_auth_dealloc()
Dhmac.c57 hmac_alloc(auth_t **a, int key_len, int out_len) { in hmac_alloc()
76 pointer = (uint8_t*)crypto_alloc(sizeof(hmac_ctx_t) + sizeof(auth_t)); in hmac_alloc()
81 *a = (auth_t *)pointer; in hmac_alloc()
83 (*a)->state = pointer + sizeof(auth_t); in hmac_alloc()
95 hmac_dealloc(auth_t *a) { in hmac_dealloc()
100 sizeof(hmac_ctx_t) + sizeof(auth_t)); in hmac_dealloc()
Dauth.c57 auth_get_key_length(const auth_t *a) { in auth_get_key_length()
62 auth_get_tag_length(const auth_t *a) { in auth_get_tag_length()
67 auth_get_prefix_length(const auth_t *a) { in auth_get_prefix_length()
88 auth_t *a; in auth_type_self_test()
/external/webrtc/talk/session/media/
Dexternalhmac.cc92 err_status_t external_hmac_alloc(auth_t** a, int key_len, int out_len) { in external_hmac_alloc()
105 pointer = new uint8_t[(sizeof(ExternalHmacContext) + sizeof(auth_t))]; in external_hmac_alloc()
110 *a = (auth_t *)pointer; in external_hmac_alloc()
115 (*a)->state = pointer + sizeof(auth_t); in external_hmac_alloc()
123 err_status_t external_hmac_dealloc(auth_t* a) { in external_hmac_dealloc()
125 memset((uint8_t *)a, 0, sizeof(ExternalHmacContext) + sizeof(auth_t)); in external_hmac_dealloc()
Dexternalhmac.h69 err_status_t external_hmac_alloc(auth_t** a, int key_len, int out_len);
71 err_status_t external_hmac_dealloc(auth_t* a);
/external/srtp/crypto/include/
Dauth.h53 typedef struct auth_t *auth_pointer_t;
93 auth_get_key_length(const struct auth_t *a);
96 auth_get_tag_length(const struct auth_t *a);
99 auth_get_prefix_length(const struct auth_t *a);
134 typedef struct auth_t { struct
140 } auth_t; typedef
Dnull_auth.h55 null_auth_alloc(auth_t **a, int key_len, int out_len);
58 null_auth_dealloc(auth_t *a);
Dhmac.h59 hmac_alloc(auth_t **a, int key_len, int out_len);
62 hmac_dealloc(auth_t *a);
/external/srtp/crypto/test/
Dauth_driver.c74 auth_bits_per_second(auth_t *h, int msg_len);
87 auth_t *a = NULL; in main()
167 auth_bits_per_second(auth_t *a, int msg_len_octets) { in auth_bits_per_second()
/external/srtp/include/
Dsrtp_priv.h219 auth_t *rtp_auth;
223 auth_t *rtcp_auth;
/external/srtp/
DChanges85 time. Previously, the structure auth_t contained the
130 A minor auth_t API change: last argument of auth_init() eliminated.
/external/tcpdump/
Dprint-isakmp.c453 uint8_t auth_t; /* method of authentication */