HomeSort by relevance Sort by last modified time
    Searched refs:enc_buf (Results 1 - 2 of 2) sorted by null

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

Completed in 403 milliseconds