-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/*------------------------------------------------------------------------- | ||
* | ||
* pg_tde_xlog_encrypt_fe.h | ||
* Frontened definitions for encrypted XLog storage manager | ||
* | ||
*------------------------------------------------------------------------- | ||
*/ | ||
|
||
#ifndef PG_TDE_XLOGENCRYPT_FE_H | ||
#define PG_TDE_XLOGENCRYPT_FE_H | ||
|
||
#ifdef PERCONA_FORK | ||
#include "access/pg_tde_xlog_encrypt.h" | ||
#include "catalog/tde_global_space.h" | ||
#include "encryption/enc_aes.h" | ||
#include "keyring/keyring_file.h" | ||
#include "keyring/keyring_vault.h" | ||
|
||
/* Frontend has to call it needs to read an encrypted XLog */ | ||
#define TDE_XLOG_INIT(kring_dir) \ | ||
AesInit(); \ | ||
InstallFileKeyring(); \ | ||
InstallVaultV2Keyring(); \ | ||
TDEInitGlobalKeys(kring_dir); \ | ||
TDEXLogSmgrInit() | ||
|
||
#endif /* PERCONA_FORK */ | ||
|
||
#endif /* PG_TDE_XLOGENCRYPT_FE_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters