joth@chromium.org | 70372d4 | 2010-10-22 13:12:34 | [diff] [blame^] | 1 | // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "base/crypto/symmetric_key.h" |
| 6 | |
| 7 | #include "base/logging.h" |
| 8 | |
| 9 | namespace base { |
| 10 | |
| 11 | SymmetricKey::~SymmetricKey() { |
| 12 | } |
| 13 | |
| 14 | // static |
| 15 | SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, |
| 16 | size_t key_size_in_bits) { |
| 17 | NOTIMPLEMENTED(); |
| 18 | return NULL; |
| 19 | } |
| 20 | |
| 21 | // static |
| 22 | SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm, |
| 23 | const std::string& password, |
| 24 | const std::string& salt, |
| 25 | size_t iterations, |
| 26 | size_t key_size_in_bits) { |
| 27 | NOTIMPLEMENTED(); |
| 28 | return NULL; |
| 29 | } |
| 30 | |
| 31 | // static |
| 32 | SymmetricKey* SymmetricKey::Import(Algorithm algorithm, |
| 33 | const std::string& raw_key) { |
| 34 | NOTIMPLEMENTED(); |
| 35 | return NULL; |
| 36 | } |
| 37 | |
| 38 | bool SymmetricKey::GetRawKey(std::string* raw_key) { |
| 39 | NOTIMPLEMENTED(); |
| 40 | return false; |
| 41 | } |
| 42 | |
| 43 | } // namespace base |