/external/chromium_org/third_party/libsrtp/srtp/crypto/hash/ |
sha1.c | 196 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 % 4 [all...] |
/external/srtp/crypto/hash/ |
sha1.c | 196 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 % 4 [all...] |
/external/srtp/crypto/test/ |
cipher_driver.c | 85 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;
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/test/ |
cipher_driver.c | 85 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;
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/cipher/ |
cipher.c | 393 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials) { 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/ |
cipher.c | 379 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials) { 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/chromium_org/third_party/libsrtp/srtp/crypto/include/ |
sha1.h | 56 int octets_in_buffer; /* octets of message in buffer */ member in struct:__anon16473
|
cipher.h | 228 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials);
|
/external/srtp/crypto/include/ |
sha1.h | 56 int octets_in_buffer; /* octets of message in buffer */ member in struct:__anon34926
|
cipher.h | 216 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials);
|