1 #include <gnutls_auth.h>
7 } SRP_CLIENT_CREDENTIALS_INT
;
9 #define GNUTLS_SRP_CLIENT_CREDENTIALS SRP_CLIENT_CREDENTIALS_INT*
13 char** password_conf_file
;
15 } SRP_SERVER_CREDENTIALS_INT
;
17 #define GNUTLS_SRP_SERVER_CREDENTIALS SRP_SERVER_CREDENTIALS_INT*
19 /* these structures should not use allocated data */
20 typedef struct SRP_SERVER_AUTH_INFO_INT
{
21 char username
[MAX_SRP_USERNAME
];
22 } *SRP_SERVER_AUTH_INFO
;
26 int proc_srp_server_hello(GNUTLS_STATE state
, const opaque
* data
, int data_size
);
27 int gen_srp_server_hello(GNUTLS_STATE state
, opaque
* data
, int data_size
);
29 typedef struct SRP_SERVER_AUTH_INFO_INT SRP_SERVER_AUTH_INFO_INT
;
31 #endif /* ENABLE_SRP */