Searched defs:ciphertext_size (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/net/quic/crypto/
H A Daes_128_gcm_12_encrypter_openssl.cc118 size_t ciphertext_size = GetCiphertextSize(plaintext.length()); local
119 scoped_ptr<char[]> ciphertext(new char[ciphertext_size]);
137 return new QuicData(ciphertext.release(), ciphertext_size, true);
146 size_t Aes128Gcm12Encrypter::GetMaxPlaintextSize(size_t ciphertext_size) const {
147 return ciphertext_size - kAuthTagSize;
H A Daes_128_gcm_12_encrypter_nss.cc294 size_t ciphertext_size = GetCiphertextSize(plaintext.length()); local
331 output, &output_len, ciphertext_size,
338 if (output_len != ciphertext_size) {
350 size_t ciphertext_size = GetCiphertextSize(plaintext.length()); local
351 scoped_ptr<char[]> ciphertext(new char[ciphertext_size]);
369 return new QuicData(ciphertext.release(), ciphertext_size, true);
378 size_t Aes128Gcm12Encrypter::GetMaxPlaintextSize(size_t ciphertext_size) const {
379 return ciphertext_size - kAuthTagSize;
H A Daes_128_gcm_12_encrypter_test.cc252 size_t ciphertext_size = encrypter->GetCiphertextSize(plaintext.length()); local
253 scoped_ptr<char[]> ciphertext(new char[ciphertext_size]);
260 return new QuicData(ciphertext.release(), ciphertext_size, true);
/external/chromium_org/crypto/
H A Dencryptor_unittest.cc187 const unsigned char* ciphertext, size_t ciphertext_size) {
205 EXPECT_EQ(ciphertext_size, encrypted.size());
219 const unsigned char* ciphertext, size_t ciphertext_size) {
233 ciphertext_size); local
183 TestAESCTREncrypt( const unsigned char* key, size_t key_size, const unsigned char* init_counter, size_t init_counter_size, const unsigned char* plaintext, size_t plaintext_size, const unsigned char* ciphertext, size_t ciphertext_size) argument
215 TestAESCTRMultipleDecrypt( const unsigned char* key, size_t key_size, const unsigned char* init_counter, size_t init_counter_size, const unsigned char* plaintext, size_t plaintext_size, const unsigned char* ciphertext, size_t ciphertext_size) argument
/external/chromium_org/net/tools/quic/
H A Dend_to_end_test.cc347 size_t ciphertext_size = NullEncrypter().GetCiphertextSize(min_payload_size); local
352 ciphertext_size;
382 size_t ciphertext_size = NullEncrypter().GetCiphertextSize(min_payload_size); local
387 ciphertext_size;
/external/chromium_org/net/quic/
H A Dquic_framer.cc1383 size_t QuicFramer::GetMaxPlaintextSize(size_t ciphertext_size) { argument
1388 size_t min_plaintext_size = ciphertext_size;
1392 size_t size = encrypter_[i]->GetMaxPlaintextSize(ciphertext_size);

Completed in 110 milliseconds