summaryrefslogtreecommitdiff
path: root/lib/auth_srp_passwd.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-05-04 21:53:44 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-05-04 21:53:44 +0000
commit908e68af7aabd51972f84a57ec9abf5540de215a (patch)
tree0269ee617569818f4028d9d8cc60d99e3d4604d0 /lib/auth_srp_passwd.h
parent89af8d0f36cd296d2c6c76bbd797da44b3bf43f5 (diff)
downloadgnutls-908e68af7aabd51972f84a57ec9abf5540de215a.tar.gz
more srp stuff
Diffstat (limited to 'lib/auth_srp_passwd.h')
-rw-r--r--lib/auth_srp_passwd.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/auth_srp_passwd.h b/lib/auth_srp_passwd.h
new file mode 100644
index 0000000000..b83ce0cc5a
--- /dev/null
+++ b/lib/auth_srp_passwd.h
@@ -0,0 +1,15 @@
+typedef struct {
+ char* username;
+ int algorithm;
+
+ opaque* salt;
+ int salt_size;
+
+ MPI v;
+ MPI g;
+ MPI n;
+} GNUTLS_SRP_PWD_ENTRY;
+
+/* this is localy alocated. It should be freed */
+GNUTLS_SRP_PWD_ENTRY *_gnutls_srp_pwd_read_entry( GNUTLS_KEY key, char* username);
+