Home
last modified time | relevance | path

Searched refs:enc_buf (Results 1 – 2 of 2) sorted by relevance

/external/srtp/crypto/test/
Dcipher_driver.c425 unsigned char *enc_buf; in cipher_array_bits_per_second() local
429 enc_buf = crypto_alloc(octets_in_buffer); in cipher_array_bits_per_second()
430 if (enc_buf == NULL) in cipher_array_bits_per_second()
439 cipher_index = (*((uint32_t *)enc_buf)) % num_cipher; in cipher_array_bits_per_second()
443 cipher_encrypt(cipher_array[cipher_index], enc_buf, &octets_in_buffer); in cipher_array_bits_per_second()
447 free(enc_buf); in cipher_array_bits_per_second()
/external/srtp/crypto/cipher/
Dcipher.c383 unsigned char *enc_buf; in cipher_bits_per_second() local
386 enc_buf = (unsigned char*) crypto_alloc(octets_in_buffer); in cipher_bits_per_second()
387 if (enc_buf == NULL) in cipher_bits_per_second()
395 cipher_encrypt(c, enc_buf, &len); in cipher_bits_per_second()
399 crypto_free(enc_buf); in cipher_bits_per_second()