Michael Brown
ff84a66c35
Conflicts with native asn1.c
17 лет назад
Michael Brown
95206577a7
Trivial ASN.1 decoding functions.
17 лет назад
Michael Brown
e01aadd5a7
Required for public key extraction
18 лет назад
Michael Brown
0050378f51
SHA1_DIGEST_SIZE also available as a static constant
18 лет назад
Michael Brown
cc8f9e4b7f
Make context sizes available for statically-allocated structures
18 лет назад
Michael Brown
d467552367
Vanilla copies from axtls
18 лет назад
Michael Brown
5c3837e0ed
Quick hacks to get it working
18 лет назад
Michael Brown
a01374b5cd
Add dummy setiv method
18 лет назад
Michael Brown
6c2f0e1bf4
Original axtls RSA code
18 лет назад
Michael Brown
1ae70e12e5
Added wrapper for AXTLS AES code
18 лет назад
Michael Brown
c1aa1d0764
Add wrapper around axtls' sha1 code
18 лет назад
Michael Brown
869f9bcb23
Adding missing include
18 лет назад
Michael Brown
413c554b34
We need this, I think
18 лет назад
Michael Brown
2e0548e17e
Force inlining
18 лет назад
Michael Brown
1fbd6f7d76
...but not when it's being used as a digest algorithm...
18 лет назад
Michael Brown
a502fcda45
The null crypto algorithm should at least copy data...
18 лет назад
Michael Brown
a008f9e85b
Add null crypto algorithm
18 лет назад
Michael Brown
0e996b81cf
Added blocksize for the benefit of HMAC code
18 лет назад
Michael Brown
db2fde474e
Generalise digest_algorithm to crypto_algorithm.
18 лет назад
Michael Brown
89c3c67c51
Should be correct for building RSA
18 лет назад
Michael Brown
3bb7c19779
Allow MatrixSSL code to compile inside gPXE
18 лет назад
Michael Brown
9542c016cd
Add aes.c and required headers from axtls tree
18 лет назад
Michael Brown
7b8859ad15
Enable the axtls code to at least build within gPXE
18 лет назад
Michael Brown
7993488a68
#if 0 out for now
18 лет назад
Michael Brown
a646e38f03
Use stdlib.h for malloc() instead of malloc.h.
18 лет назад
Michael Brown
fdaddd969a
Added "name" field to digest algorithms
18 лет назад
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.
18 лет назад
Michael Brown
a9415d3da2
Reduce from 157 to 123 bytes
18 лет назад
Michael Brown
c5428303e4
Added generic CHAP layer, independent of iSCSI
18 лет назад
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.
18 лет назад
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.
18 лет назад
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
18 лет назад
Michael Brown
4ef1ef0ee4
Restored the le32_to_cpus() and cpu_to_le32s() calls
18 лет назад
Michael Brown
013f8c119a
Tidied up.
18 лет назад
Michael Brown
2eed0bb8e5
Reduced size from 2087 bytes to 1056 bytes
18 лет назад
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.
18 лет назад
Michael Brown
7ab29b0bfe
This file breaks "make blib"; please find a way to avoid doing this.
18 лет назад
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.
18 лет назад
Derek Pryor
47be47bf17
Adding SSL Constructs header file. (First version)
18 лет назад