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

1 2 3

  /external/chromium_org/sync/util/
nigori_unittest.cc 58 EXPECT_TRUE(nigori.Encrypt(plaintext, &encrypted1));
61 EXPECT_TRUE(nigori.Encrypt(plaintext, &encrypted2));
88 EXPECT_TRUE(nigori.Encrypt(plaintext, &encrypted));
103 EXPECT_TRUE(nigori.Encrypt(plaintext, &encrypted));
121 EXPECT_TRUE(nigori.Encrypt(plaintext, &encrypted));
155 EXPECT_TRUE(nigori1.Encrypt(original, &ciphertext));
159 EXPECT_TRUE(nigori2.Encrypt(original, &ciphertext));
cryptographer_unittest.cc 47 EXPECT_FALSE(cryptographer_.Encrypt(original, &encrypted));
73 EXPECT_TRUE(cryptographer_.Encrypt(original, &encrypted));
92 EXPECT_TRUE(cryptographer_.Encrypt(original, &encrypted));
97 EXPECT_TRUE(cryptographer_.Encrypt(original, &encrypted2));
99 // Now encrypt with a new default key. Should overwrite the old data.
102 EXPECT_TRUE(cryptographer_.Encrypt(original, &encrypted3));
123 EXPECT_TRUE(cryptographer_.Encrypt(original, &encrypted1));
125 EXPECT_TRUE(cryptographer_.Encrypt(original, &encrypted2));
132 EXPECT_TRUE(cryptographer_.Encrypt(original, &encrypted3));
134 EXPECT_TRUE(cryptographer_.Encrypt(original, &encrypted4))
    [all...]
nigori.h 24 // for your secret (basically a map key), and |Encrypt| and |Decrypt| to store
56 bool Encrypt(const std::string& value, std::string* encrypted) const;
nigori.cc 134 if (!encryptor.Encrypt(plaintext.str(), &ciphertext))
158 bool Nigori::Encrypt(const std::string& value, std::string* encrypted) const {
170 if (!encryptor.Encrypt(value, &ciphertext))
cryptographer.cc 74 bool Cryptographer::Encrypt(
79 LOG(ERROR) << "Cryptographer not ready, failed to encrypt.";
111 if (!default_nigori->second->Encrypt(serialized,
113 LOG(ERROR) << "Failed to encrypt data.";
131 return std::string(); // Caller should have called CanDecrypt(encrypt).
158 // Encrypt the bag with the default Nigori.
159 return Encrypt(bag, encrypted);
  /external/chromium_org/media/cast/common/
transport_encryption_handler.h 31 bool Encrypt(uint32 frame_id,
transport_encryption_handler.cc 64 bool TransportEncryptionHandler::Encrypt(uint32 frame_id,
73 if (!encryptor_->Encrypt(data, encrypted_data)) {
74 NOTREACHED() << "Encrypt error";
  /external/chromium_org/net/quic/crypto/
null_encrypter.cc 24 bool NullEncrypter::Encrypt(
43 Encrypt(StringPiece(), associated_data, plaintext, buffer);
null_encrypter.h 15 // has occurred. It does not actually encrypt the payload, but does
25 virtual bool Encrypt(base::StringPiece nonce,
null_encrypter_test.cc 16 TEST_F(NullEncrypterTest, Encrypt) {
quic_encrypter.h 42 // Encrypt encrypts |plaintext| and writes the ciphertext, plus a MAC over
47 virtual bool Encrypt(base::StringPiece nonce,
chacha20_poly1305_encrypter_test.cc 42 // EncryptWithNonce wraps the |Encrypt| method of |encrypter| to allow passing
51 if (!encrypter->Encrypt(nonce, associated_data, plaintext,
59 TEST(ChaCha20Poly1305EncrypterTest, Encrypt) {
aead_base_encrypter_nss.cc 50 bool AeadBaseEncrypter::Encrypt(StringPiece nonce,
120 // TODO(ianswett): Introduce a check to ensure that we don't encrypt with the
127 if (!Encrypt(StringPiece(reinterpret_cast<char*>(nonce), nonce_size),
aead_base_encrypter_openssl.cc 76 bool AeadBaseEncrypter::Encrypt(StringPiece nonce,
110 // TODO(ianswett): Introduce a check to ensure that we don't encrypt with the
117 if (!Encrypt(StringPiece(reinterpret_cast<char*>(nonce), nonce_size),
aes_128_gcm_12_encrypter_test.cc 209 // EncryptWithNonce wraps the |Encrypt| method of |encrypter| to allow passing
218 if (!encrypter->Encrypt(nonce, associated_data, plaintext,
226 TEST(Aes128Gcm12EncrypterTest, Encrypt) {
aead_base_encrypter.h 45 virtual bool Encrypt(base::StringPiece nonce,
crypto_secret_boxer.cc 60 if (!encrypter->Encrypt(StringPiece(data, kBoxNonceSize), StringPiece(),
63 DLOG(DFATAL) << "CryptoSecretBoxer's Encrypt failed.";
  /external/chromium_org/content/child/webcrypto/test/
aes_ctr_unittest.cc 73 Encrypt(CreateAesCtrAlgorithm(test_counter, counter_length_bits),
110 Encrypt(CreateAesCtrAlgorithm(bad_counter, 128),
145 Encrypt(CreateAesCtrAlgorithm(counter, bad_counter_length_bits),
163 // Using a 4-bit counter it is possible to encrypt 16 blocks. However the 17th
195 Encrypt(CreateAesCtrAlgorithm(counter, kCounterLengthBits),
202 Encrypt(CreateAesCtrAlgorithm(counter, kCounterLengthBits),
  /external/chromium_org/content/child/webcrypto/openssl/
aes_gcm_openssl.cc 65 virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
69 return AesGcmEncryptDecrypt(ENCRYPT, algorithm, key, data, buffer);
aes_kw_openssl.cc 44 if ((mode == ENCRYPT && data.byte_length() < 16) ||
71 virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
75 return AesKwEncryptDecrypt(ENCRYPT, algorithm, key, data, buffer);
  /external/chromium_org/crypto/
encryptor.h 68 bool Encrypt(const base::StringPiece& plaintext, std::string* ciphertext);
118 bool Crypt(bool do_encrypt, // Pass true to encrypt, false to decrypt.
  /external/chromium_org/components/os_crypt/
os_crypt_posix.cc 93 if (!encryptor.Encrypt(plaintext, ciphertext))
  /external/chromium_org/chrome/browser/chromeos/settings/
token_encryptor.cc 44 LOG(WARNING) << "System salt key is not available for encrypt.";
86 if (!encryptor.Encrypt(token, &encoded_token)) {
87 LOG(WARNING) << "Failed to encrypt token.";
  /external/chromium_org/content/child/webcrypto/
algorithm_dispatch.h 31 CONTENT_EXPORT Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
algorithm_implementation.h 38 // to Encrypt()/Decrypt() the corresponding key usages may not be present
44 // This method corresponds to Web Crypto's crypto.subtle.encrypt().
45 virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,

Completed in 1759 milliseconds

1 2 3