Searched refs:msg_len_octets (Results 1 – 2 of 2) sorted by relevance
/external/srtp/test/ |
D | srtp_driver.c | 72 srtp_bits_per_second(int msg_len_octets, const srtp_policy_t *policy); 75 srtp_rejections_per_second(int msg_len_octets, const srtp_policy_t *policy); 461 srtp_bits_per_second(int msg_len_octets, const srtp_policy_t *policy) { in srtp_bits_per_second() argument 492 mesg = srtp_create_test_packet(msg_len_octets, ssrc); in srtp_bits_per_second() 499 len = msg_len_octets + 12; /* add in rtp header length */ in srtp_bits_per_second() 516 return (double) (msg_len_octets) * 8 * in srtp_bits_per_second() 521 srtp_rejections_per_second(int msg_len_octets, const srtp_policy_t *policy) { in srtp_rejections_per_second() argument 540 mesg = srtp_create_test_packet(msg_len_octets, ssrc); in srtp_rejections_per_second() 544 len = msg_len_octets; in srtp_rejections_per_second() 549 len = msg_len_octets; in srtp_rejections_per_second() [all …]
|
/external/srtp/crypto/test/ |
D | auth_driver.c | 167 auth_bits_per_second(auth_t *a, int msg_len_octets) { in auth_bits_per_second() argument 171 int msg_len = (msg_len_octets + 1)/2; in auth_bits_per_second() 175 msg_string = (uint16_t *) crypto_alloc(msg_len_octets); in auth_bits_per_second() 190 auth_compute(a, (uint8_t *)msg_string, msg_len_octets, (uint8_t *)result); in auth_bits_per_second() 197 return (double) NUM_TRIALS * 8 * msg_len_octets * CLOCKS_PER_SEC / timer; in auth_bits_per_second()
|