Skip to content

Commit

Permalink
fixing review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dutow committed Feb 14, 2024
1 parent b6af70c commit 3bdbdf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/encryption/enc_tuple.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ SetIVPrefix(ItemPointerData* ip, char* iv_prefix)
* start_offset: is the absolute location of start of data in the file.
* This function assumes that everything is in a single block, and has an assertion ensuring this
*/
void
static void
pg_tde_crypt_simple(const char* iv_prefix, uint32 start_offset, const char* data, uint32 data_len, char* out, RelKeysData* keys, const char* context)
{
const uint64 aes_start_block = start_offset / AES_BLOCK_SIZE;
Expand Down Expand Up @@ -85,7 +85,7 @@ pg_tde_crypt_simple(const char* iv_prefix, uint32 start_offset, const char* data
* start_offset: is the absolute location of start of data in the file.
* This is a generic function indented for large data, that od not fit into a single block
*/
void
static void
pg_tde_crypt_complex(const char* iv_prefix, uint32 start_offset, const char* data, uint32 data_len, char* out, RelKeysData* keys, const char* context)
{
const uint64 aes_start_block = start_offset / AES_BLOCK_SIZE;
Expand Down
4 changes: 0 additions & 4 deletions src/include/encryption/enc_tuple.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
#include "executor/tuptable.h"
#include "access/pg_tde_tdemap.h"

extern void
pg_tde_crypt_simple(const char* iv_prefix, uint32 start_offset, const char* data, uint32 data_len, char* out, RelKeysData* keys, const char* context);
extern void
pg_tde_crypt_complex(const char* iv_prefix, uint32 start_offset, const char* data, uint32 data_len, char* out, RelKeysData* keys, const char* context);
extern void
pg_tde_crypt(const char* iv_prefix, uint32 start_offset, const char* data, uint32 data_len, char* out, RelKeysData* keys, const char* context);
extern void
Expand Down

0 comments on commit 3bdbdf9

Please sign in to comment.