Searched defs:ciphertext_size (Results 1 - 7 of 7) sorted by relevance
/external/chromium_org/net/quic/crypto/ |
H A D | chacha20_poly1305_encrypter_test.cc | 48 size_t ciphertext_size = encrypter->GetCiphertextSize(plaintext.length()); local 49 scoped_ptr<char[]> ciphertext(new char[ciphertext_size]); 56 return new QuicData(ciphertext.release(), ciphertext_size, true);
|
H A D | crypto_secret_boxer.cc | 49 size_t ciphertext_size = encrypter->GetCiphertextSize(plaintext.length()); local 52 const size_t len = kBoxNonceSize + ciphertext_size;
|
H A D | aead_base_encrypter_nss.cc | 58 size_t ciphertext_size = GetCiphertextSize(plaintext.length()); local 98 output, &output_len, ciphertext_size, 105 if (output_len != ciphertext_size) { 117 size_t ciphertext_size = GetCiphertextSize(plaintext.length()); local 118 scoped_ptr<char[]> ciphertext(new char[ciphertext_size]); 133 return new QuicData(ciphertext.release(), ciphertext_size, true); 142 size_t AeadBaseEncrypter::GetMaxPlaintextSize(size_t ciphertext_size) const { 143 return ciphertext_size - auth_tag_size_;
|
H A D | aead_base_encrypter_openssl.cc | 107 size_t ciphertext_size = GetCiphertextSize(plaintext.length()); local 108 scoped_ptr<char[]> ciphertext(new char[ciphertext_size]); 123 return new QuicData(ciphertext.release(), ciphertext_size, true); 132 size_t AeadBaseEncrypter::GetMaxPlaintextSize(size_t ciphertext_size) const { 133 return ciphertext_size - auth_tag_size_;
|
H A D | aes_128_gcm_12_encrypter_test.cc | 215 size_t ciphertext_size = encrypter->GetCiphertextSize(plaintext.length()); local 216 scoped_ptr<char[]> ciphertext(new char[ciphertext_size]); 223 return new QuicData(ciphertext.release(), ciphertext_size, true);
|
/external/chromium_org/crypto/ |
H A D | encryptor_unittest.cc | 187 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/quic/ |
H A D | quic_framer.cc | 1710 size_t QuicFramer::GetMaxPlaintextSize(size_t ciphertext_size) { argument 1713 size_t min_plaintext_size = ciphertext_size; 1717 size_t size = encrypter_[i]->GetMaxPlaintextSize(ciphertext_size);
|
Completed in 2329 milliseconds