PostgreSQL Source Code  git master
pg_hmac_ctx Struct Reference

Data Fields

pg_cryptohash_ctxhash
 
pg_cryptohash_type type
 
pg_hmac_errno error
 
const char * errreason
 
int block_size
 
int digest_size
 
uint8 k_ipad [PG_SHA512_BLOCK_LENGTH]
 
uint8 k_opad [PG_SHA512_BLOCK_LENGTH]
 
HMAC_CTX * hmacctx
 
ResourceOwner resowner
 

Detailed Description

Definition at line 50 of file hmac.c.

Field Documentation

◆ block_size

int pg_hmac_ctx::block_size

Definition at line 56 of file hmac.c.

Referenced by pg_hmac_create(), pg_hmac_final(), and pg_hmac_init().

◆ digest_size

int pg_hmac_ctx::digest_size

Definition at line 57 of file hmac.c.

Referenced by pg_hmac_create(), pg_hmac_final(), and pg_hmac_init().

◆ error

pg_hmac_errno pg_hmac_ctx::error

Definition at line 54 of file hmac.c.

Referenced by pg_hmac_create(), pg_hmac_error(), pg_hmac_final(), pg_hmac_init(), and pg_hmac_update().

◆ errreason

const char * pg_hmac_ctx::errreason

Definition at line 55 of file hmac.c.

Referenced by pg_hmac_create(), pg_hmac_error(), pg_hmac_final(), pg_hmac_init(), and pg_hmac_update().

◆ hash

pg_cryptohash_ctx* pg_hmac_ctx::hash

Definition at line 52 of file hmac.c.

Referenced by pg_hmac_create(), pg_hmac_final(), pg_hmac_free(), pg_hmac_init(), and pg_hmac_update().

◆ hmacctx

HMAC_CTX* pg_hmac_ctx::hmacctx

◆ k_ipad

uint8 pg_hmac_ctx::k_ipad[PG_SHA512_BLOCK_LENGTH]

Definition at line 63 of file hmac.c.

Referenced by pg_hmac_init().

◆ k_opad

uint8 pg_hmac_ctx::k_opad[PG_SHA512_BLOCK_LENGTH]

Definition at line 64 of file hmac.c.

Referenced by pg_hmac_final(), and pg_hmac_init().

◆ resowner

ResourceOwner pg_hmac_ctx::resowner

Definition at line 72 of file hmac_openssl.c.

Referenced by pg_hmac_create(), and pg_hmac_free().

◆ type

pg_cryptohash_type pg_hmac_ctx::type

Definition at line 53 of file hmac.c.

Referenced by pg_hmac_create(), pg_hmac_final(), and pg_hmac_init().


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