Commit Graph

50 Commits (8d33413276698d25008a614f37a6998952bf1f6c)

Author SHA1 Message Date
est31 8d33413276 Make OPENSSL_cleanse available to sha1 too 2015-07-24 21:46:50 +02:00
est31 84a07dde15 Check output of mpz_set_str and fix leak on error condition 2015-07-24 21:39:23 +02:00
Ner'zhul c6da9eeb3f Fix clang always-true warning 2015-07-24 21:19:25 +02:00
est31 3e3af1139a Use our own sha.h file
Before we relied on openssl's sha
2015-07-24 21:16:36 +02:00
est31 4fb2e1b411 Add compiling startup help
Its always nicer to have a finished command one can copy or adjust.
2015-05-24 21:07:23 +02:00
est31 e7c73f5c5e Update README
Some changes occured the last weeks, document them.
2015-05-08 08:02:54 +02:00
est31 e263bbcf5c Fix segfault and one more size_t conversion 2015-05-07 22:56:26 +02:00
est31 0fa0790802 Use size_t for length, fix some compilation warnings 2015-05-07 22:26:03 +02:00
est31 1fcd908406 Fix c++ compilability, add preprocessor mechanism for hashes, and use size_t on places 2015-05-07 22:07:54 +02:00
est31 a7a01d64a3 Use const only where we don't change anything 2015-05-07 20:19:33 +02:00
est31 2a7ff334b3 Whitespace style changes
Use tabs.
2015-05-07 20:19:30 +02:00
est31 b15de7b2ad Fix windows compilability 2015-05-07 20:19:20 +02:00
est31 f78911d858 Fix c++ compilability 2015-05-01 10:23:18 +02:00
est31 16d6125ed5 Use PcgRandom from @kwolekr for OSes not providing /dev/urandom
Also, begin with style fix changes.
2015-05-01 10:01:14 +02:00
est31 e5a12b1d06 Add RFC 5054 test vector tests and SHA-1 algorithm 2015-04-24 07:41:12 +02:00
est31 f4f75901d5 Add easier way to debug
You only have to change the defines now to debug, not modify the code itself.
2015-04-24 07:41:12 +02:00
est31 84bccc73e3 Use separate verifier to point out that usernames for verifiers can be different 2015-04-24 07:41:12 +02:00
est31 8b5019ecc2 Memory fixes 2015-04-24 07:41:12 +02:00
est31 a7057b41dd Remove trailing spaces in test_srp.c and add option to pass NULL
Now, you can pass NULL as username in srp_user_start_authentication, if you
don't need the username (usually in most cases).
2015-04-24 07:41:12 +02:00
est31 d98a48df06 Smaller fixes
Better checking and clearing of u and k, fix compiler failure for bytes_B
2015-04-24 07:41:12 +02:00
est31 6306b40e2a Change copyright boilerplate 2015-04-24 07:41:12 +02:00
est31 e91130a97e Fix couple of issues
Adds some changes of csrp forks:
* Pad in H_nn
* Try to become rfc 5054 compatible (still omitting 1536 bit)
* Make calculations of B and S based modulo N (this breaks compat, use with care)
* couple of other fixes (like freeing when aborting, or checking H_nn return value)
2015-04-24 07:40:59 +02:00
est31 1d6e37db06 Clarify README RNG OS situation 2015-04-15 04:15:16 +02:00
est31 9187622899 Fix build
Some compilers had problems with these inline functions.
2015-04-12 12:43:53 +02:00
est31 2cf2a29e35 Improve readme 2015-04-12 03:49:51 +02:00
est31 8c815b2214 Port to LibGMP 2015-04-12 03:40:29 +02:00
tcocagne c0069bcc4e Updated licence description in srp.h and srp.c to match the LICENSE file 2013-10-09 08:08:49 -05:00
tcocagne fc91cd4a18 Converted to Unix line endings 2013-04-02 21:32:42 -05:00
tcocagne ac4f7186bd Aesthetic change 2013-04-02 21:29:22 -05:00
cocagne 542e43da6f Merge pull request #1 from hoccer/fix_uninitialized_ptr
avoid returning an uninitialized pointer
2013-04-02 19:24:49 -07:00
David Siegel 48d9005e0e avoid returning an uninitialized pointer 2013-04-03 02:42:56 +02:00
tcocagne c30f4d491f Added author to README.md 2013-03-14 22:19:03 -05:00
tcocagne eebe8941b1 Added programming language to source code block 2013-03-14 22:10:14 -05:00
tcocagne a791886b2e Cleaned up code for rehosting on github 2013-03-14 22:07:01 -05:00
tcocagne 9de5d1a3f9 Fixed datastructure initialization bug reported by kaliyuga 2012-10-29 22:53:35 -05:00
tcocagne 270d1bf303 Included comments by Jason Resch for minor security improvements 2012-10-16 09:50:35 -05:00
tcocagne 28d8808d33 Added TODO section for implementation security enhancements 2012-10-16 09:18:27 -05:00
Tom Cocagne dc25c943ed Added error handling code for memory allocation failures... idiotic oversight 2011-06-03 15:00:34 -04:00
Tom Cocagne fd717c557a Added tag v1.0 for changeset 97063295dced 2011-04-01 20:58:42 -04:00
Tom Cocagne 549efa3707 forgot to update 2011-04-01 20:58:20 -04:00
Tom Cocagne 4f10717fa9 added documentation 2011-04-01 20:57:26 -04:00
Tom Cocagne 69e3d44428 added 8192 bit NG 2011-02-08 14:10:17 -05:00
Tom Cocagne d6be151bbc Renamed opaque srp_gen_sv to srp_create_salted_verification_key 2011-01-04 11:40:45 -05:00
Tom Cocagne 62bead607a Removed alloca 2010-11-29 14:59:11 -05:00
Tom Cocagne c9db82906d updated random number generator seeding. added docs 2010-11-24 16:23:03 -05:00
Tom Cocagne 775cb3ea1c removed need for init/fini functions 2010-11-24 11:41:19 -05:00
Tom Cocagne f4650c1c45 Added hash and Ng specification 2010-11-24 11:26:03 -05:00
Tom Cocagne 14bf5988c0 removed tabs 2010-10-01 15:13:47 -04:00
Tom Cocagne 5a52bcb31e removed tabs 2010-10-01 15:11:00 -04:00
Tom Cocagne 7ec0c6c2ae initial commit 2010-10-01 14:32:10 -04:00