diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-05-05 22:24:00 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-05-05 22:24:00 +0000 |
commit | c2fd5ac55082c85394c5d37c2a59fb1fb503a205 (patch) | |
tree | 0b1948f5d08577d70253267ff272dd39eef89553 /lib/gnutls_srp.h | |
parent | 24b938de479d51c8568c61ce6f26c147bf8ae2fe (diff) | |
download | gnutls-c2fd5ac55082c85394c5d37c2a59fb1fb503a205.tar.gz |
some hacks in order to exchange the algorithm used to hash
the password...
Diffstat (limited to 'lib/gnutls_srp.h')
-rw-r--r-- | lib/gnutls_srp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_srp.h b/lib/gnutls_srp.h index fdb6e7f6fe..03ea949d30 100644 --- a/lib/gnutls_srp.h +++ b/lib/gnutls_srp.h @@ -3,5 +3,5 @@ MPI _gnutls_calc_srp_B(MPI * ret_b, MPI g, MPI n, MPI v); MPI _gnutls_calc_srp_u( MPI B); MPI _gnutls_calc_srp_S1(MPI A, MPI b, MPI u, MPI v, MPI n); MPI _gnutls_calc_srp_A(MPI *a, MPI g, MPI n); -void* _gnutls_calc_srp_sha( char* username, char* password, opaque* salt, int salt_size); +void* _gnutls_calc_srp_x( char* username, char* password, opaque* salt, int salt_size, int crypt_algo); MPI _gnutls_calc_srp_S2(MPI B, MPI g, MPI x, MPI a, MPI u, MPI n); |