summaryrefslogtreecommitdiffstats
path: root/base/crypto/encryptor_mac.cc
blob: 2b04537a2d1bd32364dc76a5dfc7cb3916a845a1 (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
30
// 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/encryptor.h"

namespace base {

// TODO(albertb): Implement on Mac using the Common Crypto Library:
// http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/CCCryptor.3cc.html#//apple_ref/doc/man/10.5/3cc/CCCryptor?useVersion=10.5

Encryptor::Encryptor() {
}

Encryptor::~Encryptor() {
}

bool Encryptor::Init(SymmetricKey* key, Mode mode, const std::string& iv) {
  return false;
}

bool Encryptor::Encrypt(const std::string& plaintext, std::string* ciphertext) {
  return false;
}

bool Encryptor::Decrypt(const std::string& ciphertext, std::string* plaintext) {
  return false;
}

}  // namespace base