srp_kx

srp_kx

Types and Values

Description

Functions

Types and Values

MAX_FAKE_SALT_SEED_SIZE

#define MAX_FAKE_SALT_SEED_SIZE 64

srp_client_credentials_st

typedef struct {
	char *username;
	char *password;
	gnutls_srp_client_credentials_function *get_function;
} srp_client_credentials_st;

srp_server_cred_st

typedef struct {
	char *password_file;
	char *password_conf_file;
	/* callback function, instead of reading the
	 * password files.
	 */
	gnutls_srp_server_credentials_function *pwd_callback;
	unsigned char fake_salt_seed[MAX_FAKE_SALT_SEED_SIZE];
	unsigned int fake_salt_seed_size;

	unsigned int fake_salt_length;
} srp_server_cred_st;