PostgreSQL Source Code  git master
fe_scram_state Struct Reference

Data Fields

fe_scram_state_enum state
 
PGconnconn
 
char * password
 
char * sasl_mechanism
 
uint8 SaltedPassword [SCRAM_KEY_LEN]
 
char * client_nonce
 
char * client_first_message_bare
 
char * client_final_message_without_proof
 
char * server_first_message
 
char * salt
 
int saltlen
 
int iterations
 
char * nonce
 
char * server_final_message
 
char ServerSignature [SCRAM_KEY_LEN]
 

Detailed Description

Definition at line 35 of file fe-auth-scram.c.

Field Documentation

◆ client_final_message_without_proof

char* fe_scram_state::client_final_message_without_proof

◆ client_first_message_bare

char* fe_scram_state::client_first_message_bare

◆ client_nonce

char* fe_scram_state::client_nonce

◆ conn

◆ iterations

int fe_scram_state::iterations

Definition at line 54 of file fe-auth-scram.c.

Referenced by calculate_client_proof(), and read_server_first_message().

◆ nonce

char* fe_scram_state::nonce

◆ password

char* fe_scram_state::password

Definition at line 41 of file fe-auth-scram.c.

Referenced by calculate_client_proof(), pg_fe_scram_free(), and pg_fe_scram_init().

◆ salt

char* fe_scram_state::salt

◆ SaltedPassword

uint8 fe_scram_state::SaltedPassword[SCRAM_KEY_LEN]

Definition at line 45 of file fe-auth-scram.c.

Referenced by calculate_client_proof(), and verify_server_signature().

◆ saltlen

int fe_scram_state::saltlen

Definition at line 53 of file fe-auth-scram.c.

Referenced by calculate_client_proof(), and read_server_first_message().

◆ sasl_mechanism

char* fe_scram_state::sasl_mechanism

◆ server_final_message

char* fe_scram_state::server_final_message

Definition at line 58 of file fe-auth-scram.c.

Referenced by pg_fe_scram_free(), and read_server_final_message().

◆ server_first_message

char* fe_scram_state::server_first_message

◆ ServerSignature

char fe_scram_state::ServerSignature[SCRAM_KEY_LEN]

Definition at line 59 of file fe-auth-scram.c.

Referenced by read_server_final_message(), and verify_server_signature().

◆ state

fe_scram_state_enum fe_scram_state::state

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