Home
last modified time | relevance | path

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

/external/chromium/crypto/
Dencryptor_nss.cc60 size_t ciphertext_len = plaintext.size() + AES_BLOCK_SIZE; in Encrypt() local
61 std::vector<unsigned char> buffer(ciphertext_len); in Encrypt()
67 ciphertext_len, in Encrypt()
78 ciphertext_len - op_len); in Encrypt()
/external/srtp/crypto/ae_xfm/
Dxfm.c307 unsigned ciphertext_len; in aes_128_cbc_hmac_sha1_96_dec() local
349 ciphertext_len = *opaque_len - TAG_LEN; in aes_128_cbc_hmac_sha1_96_dec()
352 printf("ciphertext len: %d\n", ciphertext_len); in aes_128_cbc_hmac_sha1_96_dec()
374 status = hmac_compute(&hmac_ctx, opaque, ciphertext_len, TAG_LEN, tmp_tag); in aes_128_cbc_hmac_sha1_96_dec()
379 octet_string_hex_string(opaque, ciphertext_len)); in aes_128_cbc_hmac_sha1_96_dec()
387 auth_tag += ciphertext_len; in aes_128_cbc_hmac_sha1_96_dec()
412 status = aes_cbc_nist_decrypt(&aes_ctx, opaque, &ciphertext_len); in aes_128_cbc_hmac_sha1_96_dec()
417 printf("plaintext len: %d\n", ciphertext_len); in aes_128_cbc_hmac_sha1_96_dec()
419 octet_string_hex_string(opaque, ciphertext_len)); in aes_128_cbc_hmac_sha1_96_dec()
423 *opaque_len = ciphertext_len; in aes_128_cbc_hmac_sha1_96_dec()