Searched defs:octets_in_buffer (Results 1 - 3 of 3) sorted by relevance

/external/srtp/crypto/include/
H A Dsha1.h56 int octets_in_buffer; /* octets of message in buffer */ member in struct:__anon12515
/external/srtp/crypto/cipher/
H A Dcipher.c379 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials) { argument
384 unsigned int len = octets_in_buffer;
386 enc_buf = (unsigned char*) crypto_alloc(octets_in_buffer);
406 return (uint64_t)CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer;
/external/srtp/crypto/test/
H A Dcipher_driver.c85 unsigned octets_in_buffer, int num_trials);
421 unsigned octets_in_buffer, int num_trials) {
429 enc_buf = crypto_alloc(octets_in_buffer);
443 cipher_encrypt(cipher_array[cipher_index], enc_buf, &octets_in_buffer);
454 return CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer;
420 cipher_array_bits_per_second(cipher_t *cipher_array[], int num_cipher, unsigned octets_in_buffer, int num_trials) argument

Completed in 124 milliseconds