Home
last modified time | relevance | path

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

/external/srtp/crypto/cipher/
Daes_icm.c335 unsigned int bytes_to_encr = *enc_len; in aes_icm_encrypt_ismacryp() local
340 if (!forIsmacryp && (bytes_to_encr + htons(c->counter.v16[7])) > 0xffff) in aes_icm_encrypt_ismacryp()
345 if (bytes_to_encr <= (unsigned int)c->bytes_in_buffer) { in aes_icm_encrypt_ismacryp()
349 i < (sizeof(v128_t) - c->bytes_in_buffer + bytes_to_encr); i++) in aes_icm_encrypt_ismacryp()
354 c->bytes_in_buffer -= bytes_to_encr; in aes_icm_encrypt_ismacryp()
365 bytes_to_encr -= c->bytes_in_buffer; in aes_icm_encrypt_ismacryp()
371 for (i=0; i < (bytes_to_encr/sizeof(v128_t)); i++) { in aes_icm_encrypt_ismacryp()
419 if ((bytes_to_encr & 0xf) != 0) { in aes_icm_encrypt_ismacryp()
424 for (i=0; i < (bytes_to_encr & 0xf); i++) in aes_icm_encrypt_ismacryp()
Daes_cbc.c156 int bytes_to_encr = *bytes_in_data; in aes_cbc_encrypt() local
175 while (bytes_to_encr > 0) { in aes_cbc_encrypt()
193 bytes_to_encr -= 16; in aes_cbc_encrypt()
207 int bytes_to_encr = *bytes_in_data; in aes_cbc_decrypt() local
228 while (bytes_to_encr > 0) { in aes_cbc_decrypt()
255 bytes_to_encr -= 16; in aes_cbc_decrypt()
Dnull_cipher.c116 unsigned char *buf, unsigned int *bytes_to_encr) { in null_cipher_encrypt() argument
/external/srtp/crypto/include/
Dnull_cipher.h73 unsigned char *buf, unsigned int *bytes_to_encr);
78 unsigned char *buf, int bytes_to_encr);
Daes_icm.h35 unsigned char *buf, unsigned int *bytes_to_encr);