blob: 9b75981c42cf8b5d818ce4f39269956773d6b8f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include <gnutls_auth.h>
typedef struct {
char* username;
char* password;
} SRP_CLIENT_CREDENTIALS_INT;
#define SRP_CLIENT_CREDENTIALS SRP_CLIENT_CREDENTIALS_INT*
typedef struct {
char* password_file;
char* password_conf_file;
} SRP_SERVER_CREDENTIALS_INT;
#define SRP_SERVER_CREDENTIALS SRP_SERVER_CREDENTIALS_INT*
/* these structures should not use allocated data */
typedef struct SRP_SERVER_AUTH_INFO_INT {
char username[MAX_SRP_USERNAME];
} *SRP_SERVER_AUTH_INFO;
int proc_srp_server_hello(GNUTLS_STATE state, const opaque * data, int data_size);
int gen_srp_server_hello(GNUTLS_STATE state, opaque ** data);
typedef struct SRP_SERVER_AUTH_INFO_INT SRP_SERVER_AUTH_INFO_INT;
|