PostgreSQL Source Code  git master
pg_hmac_ctx Struct Reference

Data Fields

pg_cryptohash_ctxhash
 
pg_cryptohash_type type
 
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 44 of file hmac.c.

Field Documentation

◆ block_size

int pg_hmac_ctx::block_size

Definition at line 48 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 49 of file hmac.c.

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

◆ hash

pg_cryptohash_ctx* pg_hmac_ctx::hash

Definition at line 46 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 55 of file hmac.c.

Referenced by pg_hmac_init().

◆ k_opad

uint8 pg_hmac_ctx::k_opad[PG_SHA512_BLOCK_LENGTH]

Definition at line 56 of file hmac.c.

Referenced by pg_hmac_final(), and pg_hmac_init().

◆ resowner

ResourceOwner pg_hmac_ctx::resowner

Definition at line 62 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 47 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: