HomeSort by relevance Sort by last modified time
    Searched refs:ciphertext (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /external/chromium_org/components/gcm_driver/
system_encryptor.cc 14 std::string* ciphertext) {
15 return ::OSCrypt::EncryptString(plaintext, ciphertext);
18 bool SystemEncryptor::DecryptString(const std::string& ciphertext,
20 return ::OSCrypt::DecryptString(ciphertext, plaintext);
system_encryptor.h 19 std::string* ciphertext) OVERRIDE;
21 virtual bool DecryptString(const std::string& ciphertext,
  /external/chromium_org/components/sync_driver/
system_encryptor.cc 14 std::string* ciphertext) {
15 return ::OSCrypt::EncryptString(plaintext, ciphertext);
18 bool SystemEncryptor::DecryptString(const std::string& ciphertext,
20 return ::OSCrypt::DecryptString(ciphertext, plaintext);
system_encryptor_unittest.cc 27 std::string ciphertext; local
28 EXPECT_TRUE(encryptor_.EncryptString(kPlaintext, &ciphertext));
29 EXPECT_NE(kPlaintext, ciphertext);
31 EXPECT_TRUE(encryptor_.DecryptString(ciphertext, &plaintext));
system_encryptor.h 19 std::string* ciphertext) OVERRIDE;
21 virtual bool DecryptString(const std::string& ciphertext,
  /external/chromium_org/google_apis/gcm/base/
fake_encryptor.cc 14 std::string* ciphertext) {
15 base::Base64Encode(plaintext, ciphertext);
19 bool FakeEncryptor::DecryptString(const std::string& ciphertext,
21 return base::Base64Decode(ciphertext, plaintext);
encryptor.h 17 std::string* ciphertext) = 0;
19 virtual bool DecryptString(const std::string& ciphertext,
fake_encryptor.h 14 // ciphertext. Obviously, this should be used only for testing.
20 std::string* ciphertext) OVERRIDE;
22 virtual bool DecryptString(const std::string& ciphertext,
  /external/chromium_org/sync/test/
fake_encryptor.cc 14 std::string* ciphertext) {
15 base::Base64Encode(plaintext, ciphertext);
19 bool FakeEncryptor::DecryptString(const std::string& ciphertext,
21 return base::Base64Decode(ciphertext, plaintext);
fake_encryptor.h 14 // ciphertext. Obviously, this should be used only for testing.
20 std::string* ciphertext) OVERRIDE;
22 virtual bool DecryptString(const std::string& ciphertext,
  /external/chromium_org/net/http/
des_unittest.cc 20 // DES known ciphertext (64-bits).
25 uint8 ciphertext[8]; local
26 memset(ciphertext, 0xaf, sizeof(ciphertext));
28 DESEncrypt(des_known_key, des_ecb_known_plaintext, ciphertext);
29 EXPECT_EQ(0, memcmp(ciphertext, des_ecb_known_ciphertext, 8));
43 uint8 ciphertext[8]; local
44 memset(ciphertext, 0xaf, sizeof(ciphertext));
46 DESEncrypt(key, plaintext, ciphertext);
    [all...]
  /external/chromium_org/components/os_crypt/
os_crypt_unittest.cc 35 std::string ciphertext; local
38 EXPECT_TRUE(OSCrypt::EncryptString16(plaintext, &ciphertext));
39 EXPECT_TRUE(OSCrypt::DecryptString16(ciphertext, &result));
44 EXPECT_TRUE(OSCrypt::EncryptString16(plaintext, &ciphertext));
45 EXPECT_TRUE(OSCrypt::DecryptString16(ciphertext, &result));
51 EXPECT_TRUE(OSCrypt::EncryptString16(plaintext, &ciphertext));
52 EXPECT_TRUE(OSCrypt::DecryptString16(ciphertext, &result));
65 EXPECT_TRUE(OSCrypt::EncryptString16(plaintext, &ciphertext));
66 EXPECT_TRUE(OSCrypt::DecryptString16(ciphertext, &result));
68 EXPECT_TRUE(OSCrypt::DecryptString(ciphertext, &utf8_result))
81 std::string ciphertext; local
104 std::string ciphertext; local
131 std::string ciphertext; local
    [all...]
os_crypt.h 20 std::string* ciphertext);
25 static bool DecryptString16(const std::string& ciphertext,
30 std::string* ciphertext);
35 static bool DecryptString(const std::string& ciphertext,
os_crypt_posix.cc 58 std::string* ciphertext) {
59 return EncryptString(base::UTF16ToUTF8(plaintext), ciphertext);
62 bool OSCrypt::DecryptString16(const std::string& ciphertext,
65 if (!DecryptString(ciphertext, &utf8))
73 std::string* ciphertext) {
80 *ciphertext = std::string();
93 if (!encryptor.Encrypt(plaintext, ciphertext))
97 ciphertext->insert(0, kObfuscationPrefix);
101 bool OSCrypt::DecryptString(const std::string& ciphertext,
108 if (ciphertext.empty())
    [all...]
os_crypt_win.cc 15 std::string* ciphertext) {
16 return EncryptString(base::UTF16ToUTF8(plaintext), ciphertext);
19 bool OSCrypt::DecryptString16(const std::string& ciphertext,
22 if (!DecryptString(ciphertext, &utf8))
30 std::string* ciphertext) {
43 ciphertext->assign(reinterpret_cast<std::string::value_type*>(output.pbData),
50 bool OSCrypt::DecryptString(const std::string& ciphertext,
54 reinterpret_cast<const BYTE*>(ciphertext.data()));
55 input.cbData = static_cast<DWORD>(ciphertext.length());
  /external/chromium_org/content/public/browser/
cookie_crypto_delegate.h 15 std::string* ciphertext) = 0;
16 virtual bool DecryptString(const std::string& ciphertext,
  /external/chromium_org/sync/util/
encryptor.h 16 std::string* ciphertext) = 0;
18 virtual bool DecryptString(const std::string& ciphertext,
  /external/chromium_org/third_party/tlslite/tlslite/utils/
openssl_aes.py 35 ciphertext = m2.cipher_update(context, plaintext)
37 self.IV = ciphertext[-self.block_size:]
38 return bytearray(ciphertext)
40 def decrypt(self, ciphertext):
41 AES.decrypt(self, ciphertext)
45 plaintext = m2.cipher_update(context, ciphertext+('\0'*16))
49 plaintext = plaintext[:len(ciphertext)]
51 self.IV = ciphertext[-self.block_size:]
openssl_tripledes.py 30 ciphertext = m2.cipher_update(context, plaintext)
32 self.IV = ciphertext[-self.block_size:]
33 return bytearray(ciphertext)
35 def decrypt(self, ciphertext):
36 TripleDES.decrypt(self, ciphertext)
40 plaintext = m2.cipher_update(context, ciphertext+('\0'*16))
44 plaintext = plaintext[:len(ciphertext)]
46 self.IV = ciphertext[-self.block_size:]
pycrypto_aes.py 27 def decrypt(self, ciphertext):
28 ciphertext = bytes(ciphertext)
29 return bytearray(self.context.decrypt(ciphertext))
pycrypto_rc4.py 26 def decrypt(self, ciphertext):
27 ciphertext = bytes(ciphertext)
28 return bytearray(self.context.decrypt(ciphertext)
pycrypto_tripledes.py 27 def decrypt(self, ciphertext):
28 ciphertext = bytes(ciphertext)
29 return bytearray(self.context.decrypt(ciphertext)
  /external/chromium_org/net/quic/crypto/
aead_base_decrypter_openssl.cc 81 StringPiece ciphertext,
84 if (ciphertext.length() < auth_tag_size_ ||
90 ctx_.get(), output, output_length, ciphertext.size(),
92 reinterpret_cast<const uint8_t*>(ciphertext.data()), ciphertext.size(),
107 StringPiece ciphertext) {
108 if (ciphertext.length() < auth_tag_size_) {
111 size_t plaintext_size = ciphertext.length();
120 associated_data, ciphertext,
crypto_secret_boxer.cc 70 bool CryptoSecretBoxer::Unbox(StringPiece ciphertext,
73 if (ciphertext.size() < kBoxNonceSize) {
78 memcpy(nonce, ciphertext.data(), kBoxNonceSize);
79 ciphertext.remove_prefix(kBoxNonceSize);
81 size_t len = ciphertext.size();
91 ciphertext, reinterpret_cast<unsigned char*>(data),
null_decrypter.cc 24 StringPiece ciphertext,
27 QuicDataReader reader(ciphertext.data(), ciphertext.length());
49 StringPiece ciphertext) {
52 QuicDataReader reader(ciphertext.data(), ciphertext.length());

Completed in 7531 milliseconds

1 2 3 4