PostgreSQL Source Code  git master
px_cipher Struct Reference

#include <px.h>

Data Fields

unsigned(* block_size )(PX_Cipher *c)
 
unsigned(* key_size )(PX_Cipher *c)
 
unsigned(* iv_size )(PX_Cipher *c)
 
int(* init )(PX_Cipher *c, const uint8 *key, unsigned klen, const uint8 *iv)
 
int(* encrypt )(PX_Cipher *c, const uint8 *data, unsigned dlen, uint8 *res)
 
int(* decrypt )(PX_Cipher *c, const uint8 *data, unsigned dlen, uint8 *res)
 
void(* free )(PX_Cipher *c)
 
void * ptr
 
int pstat
 

Detailed Description

Definition at line 151 of file px.h.

Field Documentation

◆ block_size

unsigned(* px_cipher::block_size) (PX_Cipher *c)

Definition at line 153 of file px.h.

Referenced by bf_load(), px_find_cipher(), and rj_load().

◆ decrypt

int(* px_cipher::decrypt) (PX_Cipher *c, const uint8 *data, unsigned dlen, uint8 *res)

Definition at line 159 of file px.h.

Referenced by bf_load(), px_find_cipher(), and rj_load().

◆ encrypt

int(* px_cipher::encrypt) (PX_Cipher *c, const uint8 *data, unsigned dlen, uint8 *res)

Definition at line 158 of file px.h.

Referenced by bf_load(), px_find_cipher(), and rj_load().

◆ free

void(* px_cipher::free) (PX_Cipher *c)

Definition at line 160 of file px.h.

Referenced by bf_load(), px_find_cipher(), and rj_load().

◆ init

int(* px_cipher::init) (PX_Cipher *c, const uint8 *key, unsigned klen, const uint8 *iv)

Definition at line 157 of file px.h.

Referenced by bf_load(), px_find_cipher(), and rj_load().

◆ iv_size

unsigned(* px_cipher::iv_size) (PX_Cipher *c)

Definition at line 155 of file px.h.

Referenced by bf_load(), px_find_cipher(), and rj_load().

◆ key_size

unsigned(* px_cipher::key_size) (PX_Cipher *c)

Definition at line 154 of file px.h.

Referenced by bf_load(), px_find_cipher(), and rj_load().

◆ pstat

int px_cipher::pstat

Definition at line 163 of file px.h.

◆ ptr


The documentation for this struct was generated from the following file: