/* functions to get information about a particular auth_t */ int srtp_auth_get_key_length(conststruct srtp_auth_t *a);
int srtp_auth_get_tag_length(conststruct srtp_auth_t *a);
int srtp_auth_get_prefix_length(conststruct srtp_auth_t *a);
/* *srtp_auth_test_case_tisa(listof)key/message/tagvaluesthatare *knowntobecorrectforaparticularcipher.thisdatacanbeused *totestanimplementationinanon-the-flyselftestofthe *correctnessoftheimplementation.(seethesrtp_auth_type_self_test() *functionbelow)
*/ typedefstruct srtp_auth_test_case_t { int key_length_octets; /* octets in key */ const uint8_t *key; /* key */ int data_length_octets; /* octets in data */ const uint8_t *data; /* data */ int tag_length_octets; /* octets in tag */ const uint8_t *tag; /* tag */ conststruct srtp_auth_test_case_t
*next_test_case; /* pointer to next testcase */
} srtp_auth_test_case_t;
typedefstruct srtp_auth_t { const srtp_auth_type_t *type; void *state; int out_len; /* length of output tag in octets */ int key_len; /* length of key in octets */ int prefix_len; /* length of keystream prefix */
} srtp_auth_t;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.