diff --git a/src/encryption/enc_tuple.c b/src/encryption/enc_tuple.c index 5145a602..1c6c3206 100644 --- a/src/encryption/enc_tuple.c +++ b/src/encryption/enc_tuple.c @@ -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; @@ -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; diff --git a/src/include/encryption/enc_tuple.h b/src/include/encryption/enc_tuple.h index b5c7f017..f0173373 100644 --- a/src/include/encryption/enc_tuple.h +++ b/src/include/encryption/enc_tuple.h @@ -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