blob: 014e1ba013db6202481e85129214b231e1800315 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/crypto/symmetric_key.h"
namespace base {
// TODO(albertb): Implement on Windows.
// static
SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, unsigned int key_size) {
return NULL;
}
// static
SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
const std::string& password,
const std::string& salt,
size_t iterations,
size_t key_size) {
return NULL;
}
bool SymmetricKey::GetRawKey(std::string* raw_key) {
return false;
}
} // namespace base
|