/external/chromium/crypto/ |
symmetric_key_unittest.cc | 15 scoped_ptr<crypto::SymmetricKey> key( 16 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); 24 scoped_ptr<crypto::SymmetricKey> key2( 25 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); 34 scoped_ptr<crypto::SymmetricKey> key1( 35 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); 40 scoped_ptr<crypto::SymmetricKey> key2 [all...] |
symmetric_key_openssl.cc | 19 SymmetricKey::~SymmetricKey() { 24 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, 34 scoped_ptr<SymmetricKey> key(new SymmetricKey); 43 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm, 53 scoped_ptr<SymmetricKey> key(new SymmetricKey); [all...] |
symmetric_key.h | 25 class SymmetricKey { 34 virtual ~SymmetricKey(); 38 // The caller is responsible for deleting the returned SymmetricKey. 39 static SymmetricKey* GenerateRandomKey(Algorithm algorithm, 45 // deleting the returned SymmetricKey. 46 static SymmetricKey* DeriveKeyFromPassword(Algorithm algorithm, 55 // size for use with |algorithm|. The caller owns the returned SymmetricKey. 56 static SymmetricKey* Import(Algorithm algorithm, const std::string& raw_key); 75 SymmetricKey() {} 78 explicit SymmetricKey(PK11SymKey* key) [all...] |
symmetric_key_nss.cc | 15 SymmetricKey::~SymmetricKey() {} 18 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, 35 return new SymmetricKey(sym_key); 39 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm, 80 return new SymmetricKey(sym_key); 84 SymmetricKey* SymmetricKey::Import(Algorithm algorithm [all...] |
symmetric_key_mac.cc | 16 CSSM_KEY_TYPE CheckKeyParams(crypto::SymmetricKey::Algorithm algorithm, 18 if (algorithm == crypto::SymmetricKey::AES) { 28 CHECK(algorithm == crypto::SymmetricKey::HMAC_SHA1); 68 SymmetricKey::~SymmetricKey() {} 71 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, 77 SymmetricKey *key = new SymmetricKey(random_bytes, key_size_in_bits); 83 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm [all...] |
encryptor.h | 21 class SymmetricKey; 33 bool Init(SymmetricKey* key, Mode mode, const std::string& iv); 44 SymmetricKey* key_;
|
encryptor_unittest.cc | 15 scoped_ptr<crypto::SymmetricKey> key( 16 crypto::SymmetricKey::DeriveKeyFromPassword( 17 crypto::SymmetricKey::AES, "password", "saltiest", 1000, 256)); 90 scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( 91 crypto::SymmetricKey::AES, key)); 123 scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( 124 crypto::SymmetricKey::AES, key)); 149 scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import [all...] |
symmetric_key_win.cc | 307 SymmetricKey::~SymmetricKey() { 315 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, 344 SymmetricKey* result = new SymmetricKey(provider.release(), 355 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm, 455 SymmetricKey* result = new SymmetricKey(provider.release(), key.release() [all...] |
encryptor_openssl.cc | 19 const EVP_CIPHER* GetCipherForKey(SymmetricKey* key) { 55 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) {
|
encryptor_mac.cc | 23 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) {
|
encryptor_nss.cc | 25 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) {
|
encryptor_win.cc | 40 bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) {
|
/external/chromium/chrome/browser/password_manager/ |
encryptor_linux.cc | 32 // Generates a newly allocated SymmetricKey object based a hard-coded password. 35 crypto::SymmetricKey* GetEncryptionKey() { 44 scoped_ptr<crypto::SymmetricKey> encryption_key( 45 crypto::SymmetricKey::DeriveKeyFromPassword(crypto::SymmetricKey::AES, 84 scoped_ptr<crypto::SymmetricKey> encryption_key(GetEncryptionKey()); 126 scoped_ptr<crypto::SymmetricKey> encryption_key(GetEncryptionKey());
|
/external/chromium/chrome/browser/sync/util/ |
nigori.cc | 28 using crypto::SymmetricKey; 79 scoped_ptr<SymmetricKey> user_salt(SymmetricKey::DeriveKeyFromPassword( 80 SymmetricKey::HMAC_SHA1, salt_password.str(), 91 user_key_.reset(SymmetricKey::DeriveKeyFromPassword(SymmetricKey::AES, 96 encryption_key_.reset(SymmetricKey::DeriveKeyFromPassword(SymmetricKey::AES, 101 mac_key_.reset(SymmetricKey::DeriveKeyFromPassword( 102 SymmetricKey::HMAC_SHA1, password, raw_user_salt, kSigningIterations [all...] |
nigori.h | 76 scoped_ptr<crypto::SymmetricKey> user_key_; 77 scoped_ptr<crypto::SymmetricKey> encryption_key_; 78 scoped_ptr<crypto::SymmetricKey> mac_key_;
|
/external/chromium/net/socket/ |
dns_cert_provenance_checker.cc | 305 scoped_ptr<crypto::SymmetricKey> symkey( 306 crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, raw_key));
|