cameronrich
82a7638efa
* Added SHA256
...
* Return code checked for get_random()
* MD2 code removed.
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@238 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2014-11-19 03:51:22 +00:00
cameronrich
9ef84f9234
* RSA_decrypt now checks the integrity of the first 11 bytes.
...
* The size of the output buffer in RSA_decrypt is now checked and cleared.
* get_random now returns an error code
* Various system calls now check the return code to remove gcc warnings.
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@237 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2014-11-07 00:38:49 +00:00
cameronrich
df4606a991
added cast to srand
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@228 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2012-07-01 11:10:14 +00:00
cameronrich
8ac6264444
looks like some stuff didn't get checked in
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@226 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2012-06-08 10:42:11 +00:00
cameronrich
fec170a640
fixed issue with buffer limit 1 less than it should have been
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@225 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2012-06-01 11:23:00 +00:00
cameronrich
5fcb19810a
removed diagnostic statement
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@223 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2012-02-11 11:32:48 +00:00
cameronrich
af155d91d9
Some fixes after going through the test harness
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@222 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2012-02-11 11:30:45 +00:00
cameronrich
ffa4da45ee
Fix in asn1_get_printable string
...
Buffer overflow vulnerability in proc.c
Possible double memory release on invalid certificates.
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@221 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2012-02-10 10:31:02 +00:00
cameronrich
2e0da63a79
Fixed bi_export, change to makefile
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@215 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2011-07-29 08:54:48 +00:00
cameronrich
529d87ba09
Added Visual Studio 2010 support and fixed some VS compilation issues.
...
Removed code to force blocking mode.
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@196 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2011-01-14 23:25:33 +00:00
cameronrich
9e1cb29c54
Added comments to hmac and rc4 code and extra diagnotics to cert # out of
...
bounds.
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@192 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2011-01-08 03:44:47 +00:00
cameronrich
9e082c868e
Ignore CA cert errors (caused by invalid signature types in cert bundles)
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@189 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2011-01-04 01:34:46 +00:00
cameronrich
f5dbc8875e
Removed os_port.h dependency. Fixed CA number issue (default now 120).
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@188 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2011-01-03 23:08:49 +00:00
cameronrich
bc9a451b51
fixed some valgrind detected issues.
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@185 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2011-01-02 22:38:59 +00:00
cameronrich
8c18da4f1e
merged partial_multiply with regular_multiply function.
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@182 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2011-01-02 08:30:53 +00:00
cameronrich
0d2e75b9c7
fixed regular_square. Some scan-build tweaks. Made os_port.h "private".
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@181 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2010-12-29 11:49:30 +00:00
cameronrich
7e570e3943
Fixed 3132700 (close_notify), 3078672 (regular_square), 3072881
...
(process_server_hello). Using Montgomery until q_dash issue solved.
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@180 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2010-12-27 09:40:51 +00:00
cameronrich
09e79822d5
some fixes to bigint library
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@175 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2010-08-06 09:58:26 +00:00
cameronrich
8b2e5bba82
fixes to axhttpd from Joe Pruett
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@170 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2010-05-07 10:39:58 +00:00
cameronrich
e674d076d4
removed debugging
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@169 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2010-05-01 05:28:44 +00:00
cameronrich
fe927a6d0e
account for output buffer being smaller than entropy pool
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@168 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2010-05-01 04:56:01 +00:00
cameronrich
c484a1ee72
added an entropy pool to the RNG
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@167 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2010-05-01 04:38:16 +00:00
cameronrich
bc1e70c101
v1.1.9-2 changes
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@150 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2008-05-13 11:32:33 +00:00
cameronrich
d02abde904
fixed a bigint issue
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@149 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2008-03-05 08:47:05 +00:00
cameronrich
31efa00831
changes for 1.1.8
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@145 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-12-02 22:15:46 +00:00
cameronrich
785380660e
finishing touches to cert generation
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@144 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-12-02 08:01:12 +00:00
cameronrich
bffc3b2197
certificate generation
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@143 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-11-29 13:02:54 +00:00
cameronrich
4a82037346
some directory restructuring
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@141 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-11-13 08:36:58 +00:00
cameronrich
70ed44946e
changed to BSD style license
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@140 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-11-05 02:28:37 +00:00
cameronrich
f72d53348e
minor updates
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@139 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-11-01 21:33:18 +00:00
cameronrich
91f0c4bec0
remove vc6.0 support
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@130 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-09-19 12:03:09 +00:00
cameronrich
ab7cbe8310
added lua test cases
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@128 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-09-17 21:48:39 +00:00
cameronrich
7c7e89b540
added md2
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@125 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-09-16 11:28:22 +00:00
cameronrich
2bbf4cfd92
fixed win32 build
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@117 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-08-29 13:22:46 +00:00
cameronrich
f9ee197cff
dir changes - things are broken at the moment
...
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@116 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
2007-08-29 09:15:39 +00:00