Home
last modified time | relevance | path

Searched refs:encryptor (Results 1 – 6 of 6) sorted by relevance

/external/chromium/crypto/
Dencryptor_unittest.cc20 crypto::Encryptor encryptor; in TEST() local
24 EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); in TEST()
28 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext)); in TEST()
33 EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decypted)); in TEST()
94 crypto::Encryptor encryptor; in TEST() local
98 EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); in TEST()
103 EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext)); in TEST()
109 EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decypted)); in TEST()
127 crypto::Encryptor encryptor; in TEST() local
130 EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); in TEST()
[all …]
Dcrypto.gyp117 'encryptor.h',
/external/chromium/chrome/browser/password_manager/
Dencryptor_linux.cc89 crypto::Encryptor encryptor; in EncryptString() local
90 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) in EncryptString()
93 if (!encryptor.Encrypt(plaintext, ciphertext)) in EncryptString()
131 crypto::Encryptor encryptor; in DecryptString() local
132 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) in DecryptString()
135 if (!encryptor.Decrypt(raw_ciphertext, plaintext)) in DecryptString()
Dencryptor_mac.mm5 #include "chrome/browser/password_manager/encryptor.h"
12 #include "crypto/encryptor.h"
97 crypto::Encryptor encryptor;
98 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv))
101 if (!encryptor.Encrypt(plaintext, ciphertext))
135 crypto::Encryptor encryptor;
136 if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv))
139 if (!encryptor.Decrypt(raw_ciphertext, plaintext))
/external/chromium/chrome/browser/sync/util/
Dnigori.cc133 Encryptor encryptor; in Permute() local
134 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, in Permute()
139 if (!encryptor.Encrypt(plaintext.str(), &ciphertext)) in Permute()
175 Encryptor encryptor; in Encrypt() local
176 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv)) in Encrypt()
180 if (!encryptor.Encrypt(value, &ciphertext)) in Encrypt()
237 Encryptor encryptor; in Decrypt() local
238 if (!encryptor.Init(encryption_key_.get(), Encryptor::CBC, iv)) in Decrypt()
242 if (!encryptor.Decrypt(ciphertext, value)) in Decrypt()
/external/chromium/net/socket/
Ddns_cert_provenance_checker.cc309 crypto::Encryptor encryptor; in BuildEncryptedReport() local
310 bool r = encryptor.Init(symkey.get(), crypto::Encryptor::CBC, iv); in BuildEncryptedReport()
315 encryptor.Encrypt(plaintext, &ciphertext); in BuildEncryptedReport()