Searched refs:octets_in_buffer (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/libsrtp/srtp/crypto/include/
H A Dsha1.h56 int octets_in_buffer; /* octets of message in buffer */ member in struct:__anon12829
H A Dcipher.h228 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials);
/external/srtp/crypto/include/
H A Dsha1.h56 int octets_in_buffer; /* octets of message in buffer */ member in struct:__anon31209
H A Dcipher.h216 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials);
/external/chromium_org/third_party/libsrtp/srtp/crypto/hash/
H A Dsha1.c196 ctx->octets_in_buffer = 0;
214 if (octets_in_msg + ctx->octets_in_buffer >= 64) {
220 octets_in_msg -= (64 - ctx->octets_in_buffer);
221 for (i=ctx->octets_in_buffer; i < 64; i++)
223 ctx->octets_in_buffer = 0;
235 for (i=ctx->octets_in_buffer;
236 i < (ctx->octets_in_buffer + octets_in_msg); i++)
238 ctx->octets_in_buffer += octets_in_msg;
258 * process the remaining octets_in_buffer, padding and terminating as
262 int tail = ctx->octets_in_buffer
[all...]
/external/srtp/crypto/hash/
H A Dsha1.c196 ctx->octets_in_buffer = 0;
214 if (octets_in_msg + ctx->octets_in_buffer >= 64) {
220 octets_in_msg -= (64 - ctx->octets_in_buffer);
221 for (i=ctx->octets_in_buffer; i < 64; i++)
223 ctx->octets_in_buffer = 0;
235 for (i=ctx->octets_in_buffer;
236 i < (ctx->octets_in_buffer + octets_in_msg); i++)
238 ctx->octets_in_buffer += octets_in_msg;
258 * process the remaining octets_in_buffer, padding and terminating as
262 int tail = ctx->octets_in_buffer
[all...]
/external/chromium_org/third_party/libsrtp/srtp/crypto/test/
H A Dcipher_driver.c85 unsigned octets_in_buffer, int num_trials);
457 unsigned octets_in_buffer, int num_trials) {
465 enc_buf = crypto_alloc(octets_in_buffer+17);
468 memset(enc_buf, 0, octets_in_buffer);
476 unsigned octets_to_encrypt = octets_in_buffer;
494 return (uint64_t)CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer;
456 cipher_array_bits_per_second(cipher_t *cipher_array[], int num_cipher, unsigned octets_in_buffer, int num_trials) argument
/external/chromium_org/third_party/libsrtp/srtp/crypto/cipher/
H A Dcipher.c393 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials) { argument
398 unsigned int len = octets_in_buffer;
400 enc_buf = (unsigned char*) crypto_alloc(octets_in_buffer);
420 return (uint64_t)CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer;
/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 147 milliseconds