Searched refs:bytes_to_encr (Results 1 - 5 of 5) sorted by relevance

/external/srtp/crypto/include/
H A Dnull_cipher.h73 unsigned char *buf, unsigned int *bytes_to_encr);
78 unsigned char *buf, int bytes_to_encr);
H A Daes_icm.h35 unsigned char *buf, unsigned int *bytes_to_encr);
/external/srtp/crypto/cipher/
H A Daes_icm.c321 * bytes_to_encr < bytes_in_buffer
324 * bytes_to_encr > bytes_in_buffer
335 unsigned int bytes_to_encr = *enc_len; local
340 if (!forIsmacryp && (bytes_to_encr + htons(c->counter.v16[7])) > 0xffff)
345 if (bytes_to_encr <= (unsigned int)c->bytes_in_buffer) {
347 /* deal with odd case of small bytes_to_encr */
349 i < (sizeof(v128_t) - c->bytes_in_buffer + bytes_to_encr); i++)
354 c->bytes_in_buffer -= bytes_to_encr;
365 bytes_to_encr -= c->bytes_in_buffer;
371 for (i=0; i < (bytes_to_encr/sizeo
[all...]
H A Daes_cbc.c156 int bytes_to_encr = *bytes_in_data; local
175 while (bytes_to_encr > 0) {
193 bytes_to_encr -= 16;
207 int bytes_to_encr = *bytes_in_data; local
228 while (bytes_to_encr > 0) {
255 bytes_to_encr -= 16;
H A Dnull_cipher.c116 unsigned char *buf, unsigned int *bytes_to_encr) {
115 null_cipher_encrypt(null_cipher_ctx_t *c, unsigned char *buf, unsigned int *bytes_to_encr) argument

Completed in 73 milliseconds