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, int padding, const uint8 *data, unsigned dlen, uint8 *res, unsigned *rlen)
 
int(* decrypt )(PX_Cipher *c, int padding, const uint8 *data, unsigned dlen, uint8 *res, unsigned *rlen)
 
void(* free )(PX_Cipher *c)
 
void * ptr
 
int pstat
 

Detailed Description

Definition at line 140 of file px.h.

Field Documentation

◆ block_size

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

Definition at line 142 of file px.h.

◆ decrypt

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

Definition at line 148 of file px.h.

◆ encrypt

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

Definition at line 147 of file px.h.

◆ free

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

Definition at line 149 of file px.h.

◆ init

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

Definition at line 146 of file px.h.

◆ iv_size

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

Definition at line 144 of file px.h.

◆ key_size

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

Definition at line 143 of file px.h.

◆ pstat

int px_cipher::pstat

Definition at line 152 of file px.h.

◆ ptr

void* px_cipher::ptr

Definition at line 151 of file px.h.


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