Skip to content

File tde.c

FileList > cubrid > src > storage > tde.c

Go to the source code of this file

  • #include <stdlib.h>
  • #include <assert.h>
  • #include <openssl/conf.h>
  • #include <openssl/evp.h>
  • #include <openssl/err.h>
  • #include <openssl/sha.h>
  • #include <openssl/rand.h>
  • #include <signal.h>
  • #include <sys/types.h>
  • #include <sys/stat.h>
  • #include <fcntl.h>
  • #include "error_manager.h"
  • #include "error_code.h"
  • #include "log_storage.hpp"
  • #include "log_volids.hpp"
  • #include "tde.h"
  • #include "memory_wrapper.hpp"

Public Functions

Type Name
int tde_add_mk (int vdes, const unsigned char * master_key, time_t created_time, int * mk_index)
int tde_create_mk (unsigned char * master_key, time_t * created_time)
int tde_delete_mk (int vdes, int mk_index)
int tde_dump_mks (int vdes, bool print_value)
int tde_find_first_mk (int vdes, int * mk_index, unsigned char * master_key, time_t * created_time)
int tde_find_mk (int vdes, int mk_index, unsigned char * master_key, time_t * created_time)
const char * tde_get_algorithm_name (TDE_ALGORITHM tde_algo)
void tde_print_mk (const unsigned char * master_key)

Macros

Type Name
define off_signals (new_mask, old_mask) /* multi line expression */
define restore_signals (old_mask) [**sigprocmask**](broker__monitor_8c.md#function-timeout)([**SIG\_SETMASK**](broker__monitor_8c.md#function-timeout), &([**old\_mask**](broker__monitor_8c.md#function-timeout)), [**NULL**](freelistheap_8h.md#define-null))

Public Functions Documentation

function tde_add_mk

int tde_add_mk (
    int vdes,
    const  unsigned  char * master_key,
    time_t created_time,
    int * mk_index
) 

function tde_create_mk

int tde_create_mk (
    unsigned  char * master_key,
    time_t * created_time
) 

function tde_delete_mk

int tde_delete_mk (
    int vdes,
    int mk_index
) 

function tde_dump_mks

int tde_dump_mks (
    int vdes,
    bool print_value
) 

function tde_find_first_mk

int tde_find_first_mk (
    int vdes,
    int * mk_index,
    unsigned  char * master_key,
    time_t * created_time
) 

function tde_find_mk

int tde_find_mk (
    int vdes,
    int mk_index,
    unsigned  char * master_key,
    time_t * created_time
) 

function tde_get_algorithm_name

const  char * tde_get_algorithm_name (
    TDE_ALGORITHM tde_algo
) 

function tde_print_mk

void tde_print_mk (
    const  unsigned  char * master_key
) 

Macro Definition Documentation

define off_signals

#define off_signals (
    new_mask,
    old_mask
) `/* multi line expression */`

define restore_signals

#define restore_signals (
    old_mask
) `sigprocmask ( SIG_SETMASK , &( old_mask ), NULL )`


The documentation for this class was generated from the following file cubrid/src/storage/tde.c