| Revision 2945,
990 bytes
checked in by chris, 13 months ago
(diff) |
|
Major refactoring to make lib/backupclient depend on lib/backupstore rather
than the other way around. This is needed to allow clients to have all the
code that they'd need to implement local backups (using the Local protocol)
in subsequent commits.
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | // -------------------------------------------------------------------------- |
|---|
| 2 | // |
|---|
| 3 | // File |
|---|
| 4 | // Name: BackupStoreFileCryptVar.cpp |
|---|
| 5 | // Purpose: Cryptographic keys for backup store files |
|---|
| 6 | // Created: 12/1/04 |
|---|
| 7 | // |
|---|
| 8 | // -------------------------------------------------------------------------- |
|---|
| 9 | |
|---|
| 10 | #include "Box.h" |
|---|
| 11 | |
|---|
| 12 | #include "BackupStoreFileCryptVar.h" |
|---|
| 13 | #include "BackupStoreFileWire.h" |
|---|
| 14 | |
|---|
| 15 | #include "MemLeakFindOn.h" |
|---|
| 16 | |
|---|
| 17 | CipherContext BackupStoreFileCryptVar::sBlowfishEncrypt; |
|---|
| 18 | CipherContext BackupStoreFileCryptVar::sBlowfishDecrypt; |
|---|
| 19 | |
|---|
| 20 | #ifndef HAVE_OLD_SSL |
|---|
| 21 | CipherContext BackupStoreFileCryptVar::sAESEncrypt; |
|---|
| 22 | CipherContext BackupStoreFileCryptVar::sAESDecrypt; |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | // Default to blowfish |
|---|
| 26 | CipherContext *BackupStoreFileCryptVar::spEncrypt = &BackupStoreFileCryptVar::sBlowfishEncrypt; |
|---|
| 27 | uint8_t BackupStoreFileCryptVar::sEncryptCipherType = HEADER_BLOWFISH_ENCODING; |
|---|
| 28 | |
|---|
| 29 | CipherContext BackupStoreFileCryptVar::sBlowfishEncryptBlockEntry; |
|---|
| 30 | CipherContext BackupStoreFileCryptVar::sBlowfishDecryptBlockEntry; |
|---|
| 31 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.