diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-12 15:52:26 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-12 15:52:26 +0000 |
commit | 172da1b80ab1d9ec5428f04919f1bed13a37e3dc (patch) | |
tree | 4ee0eaf3d734a20b208de30616123ad7621abf5a /net/http/des.h | |
parent | 8b615de52644092891367b304f3b4663cc6daba6 (diff) | |
download | chromium_src-172da1b80ab1d9ec5428f04919f1bed13a37e3dc.zip chromium_src-172da1b80ab1d9ec5428f04919f1bed13a37e3dc.tar.gz chromium_src-172da1b80ab1d9ec5428f04919f1bed13a37e3dc.tar.bz2 |
Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE.
Review URL: http://codereview.chromium.org/7529043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/des.h')
-rw-r--r-- | net/http/des.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/http/des.h b/net/http/des.h index 5ae4916..5f0fb34 100644 --- a/net/http/des.h +++ b/net/http/des.h @@ -7,7 +7,7 @@ #pragma once #include "base/basictypes.h" -#include "net/base/net_api.h" +#include "net/base/net_export.h" namespace net { @@ -17,12 +17,13 @@ namespace net { // TODO(wtc): Turn this into a C++ API and move it to the base module. // Build a 64-bit DES key from a 56-bit raw key. -NET_TEST void DESMakeKey(const uint8* raw, uint8* key); +NET_EXPORT_PRIVATE void DESMakeKey(const uint8* raw, uint8* key); // Run the DES encryption algorithm in ECB mode on one block (8 bytes) of // data. |key| is a DES key (8 bytes), |src| is the input plaintext (8 // bytes), and |hash| is an 8-byte buffer receiving the output ciphertext. -NET_TEST void DESEncrypt(const uint8* key, const uint8* src, uint8* hash); +NET_EXPORT_PRIVATE void DESEncrypt(const uint8* key, const uint8* src, + uint8* hash); } // namespace net |