Michael Brown
a646e38f03
Use stdlib.h for malloc() instead of malloc.h.
il y a 18 ans
Michael Brown
fdaddd969a
Added "name" field to digest algorithms
il y a 18 ans
Michael Brown
d37f82509f
Added debug statements.
Don't crash when called on an uninitialised chap structure; this
allows us to avoid extra checks within iscsi.c to make sure that we
receive the CHAP_XXX keys in a sensible order.
il y a 18 ans
Michael Brown
a9415d3da2
Reduce from 157 to 123 bytes
il y a 18 ans
Michael Brown
c5428303e4
Added generic CHAP layer, independent of iSCSI
il y a 18 ans
Michael Brown
57d539aab0
Made it temporarily possible to call MD5 routines directly from external
code, rather than going through the digest layer.
Removed a spurious line of constants.
il y a 18 ans
Michael Brown
88e38fa148
We don't actually have a stdio.h header file. Our printf() functions are
defined in vsprintf.h. (This may change, since vsprintf.h is a
non-standard name, but for now it's the one to use.)
There should be no need to include vsprintf.h just for DBG() statements,
since include/compiler.h forces it in for a debug build anyway.
il y a 18 ans
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
il y a 18 ans
Michael Brown
4ef1ef0ee4
Restored the le32_to_cpus() and cpu_to_le32s() calls
il y a 18 ans
Michael Brown
013f8c119a
Tidied up.
il y a 18 ans
Michael Brown
2eed0bb8e5
Reduced size from 2087 bytes to 1056 bytes
il y a 18 ans
Michael Brown
48bdde5d7b
Taken from Linux's md5.c. This implementation is not very
size-efficient, and will probably be rewritten.
The md5.c from MatrixSSL is too ugly to consider importing.
il y a 18 ans
Michael Brown
7ab29b0bfe
This file breaks "make blib"; please find a way to avoid doing this.
il y a 18 ans
Derek Pryor
e71098a652
The first packet (ClientHello Handshake) can be constructed and is accepted
by SSL servers. Framework.c allows me to test the library against a given
https server.
il y a 18 ans
Derek Pryor
47be47bf17
Adding SSL Constructs header file. (First version)
il y a 18 ans