Searched refs:SymmetricKey (Results 1 – 7 of 7) sorted by relevance
/external/libchrome/crypto/ |
D | symmetric_key_unittest.cc | 15 scoped_ptr<crypto::SymmetricKey> key( in TEST() 16 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST() 24 scoped_ptr<crypto::SymmetricKey> key2( in TEST() 25 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST() 34 scoped_ptr<crypto::SymmetricKey> key1( in TEST() 35 crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); in TEST() 40 scoped_ptr<crypto::SymmetricKey> key2( in TEST() 41 crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, raw_key1)); in TEST() 51 scoped_ptr<crypto::SymmetricKey> key1( in TEST() 52 crypto::SymmetricKey::DeriveKeyFromPassword( in TEST() [all …]
|
D | symmetric_key_openssl.cc | 21 SymmetricKey::~SymmetricKey() { in ~SymmetricKey() 26 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, in GenerateRandomKey() 43 scoped_ptr<SymmetricKey> key(new SymmetricKey); in GenerateRandomKey() 52 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm, in DeriveKeyFromPassword() 74 scoped_ptr<SymmetricKey> key(new SymmetricKey); in DeriveKeyFromPassword() 85 SymmetricKey* SymmetricKey::Import(Algorithm algorithm, in Import() 95 scoped_ptr<SymmetricKey> key(new SymmetricKey); in Import() 100 bool SymmetricKey::GetRawKey(std::string* raw_key) { in GetRawKey()
|
D | symmetric_key_nss.cc | 17 SymmetricKey::~SymmetricKey() {} in ~SymmetricKey() 20 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, in GenerateRandomKey() 41 return new SymmetricKey(sym_key); in GenerateRandomKey() 45 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm, in DeriveKeyFromPassword() 94 return new SymmetricKey(sym_key); in DeriveKeyFromPassword() 98 SymmetricKey* SymmetricKey::Import(Algorithm algorithm, in Import() 131 return new SymmetricKey(sym_key); in Import() 134 bool SymmetricKey::GetRawKey(std::string* raw_key) { in GetRawKey() 147 SymmetricKey::SymmetricKey(PK11SymKey* key) : key_(key) { in SymmetricKey() function in crypto::SymmetricKey
|
D | symmetric_key.h | 29 class CRYPTO_EXPORT SymmetricKey { 38 virtual ~SymmetricKey(); 43 static SymmetricKey* GenerateRandomKey(Algorithm algorithm, 51 static SymmetricKey* DeriveKeyFromPassword(Algorithm algorithm, 61 static SymmetricKey* Import(Algorithm algorithm, const std::string& raw_key); 78 SymmetricKey(HCRYPTPROV provider, HCRYPTKEY key, 92 SymmetricKey() {} 95 explicit SymmetricKey(PK11SymKey* key); 99 DISALLOW_COPY_AND_ASSIGN(SymmetricKey);
|
D | symmetric_key_win.cc | 310 SymmetricKey::~SymmetricKey() { in ~SymmetricKey() 318 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, in GenerateRandomKey() 347 SymmetricKey* result = new SymmetricKey(provider.release(), in GenerateRandomKey() 358 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm, in DeriveKeyFromPassword() 458 SymmetricKey* result = new SymmetricKey(provider.release(), key.release(), in DeriveKeyFromPassword() 467 SymmetricKey* SymmetricKey::Import(Algorithm algorithm, in Import() 497 return new SymmetricKey(provider.release(), key.release(), in Import() 501 bool SymmetricKey::GetRawKey(std::string* raw_key) { in GetRawKey() 529 SymmetricKey::SymmetricKey(HCRYPTPROV provider, in SymmetricKey() function in crypto::SymmetricKey
|
D | hmac.h | 23 class SymmetricKey; variable 55 bool Init(SymmetricKey* key) WARN_UNUSED_RESULT;
|
D | hmac.cc | 17 bool HMAC::Init(SymmetricKey* key) { in Init()
|