Michael Brown
76f5939736
[crypto] Replace SHA-1 implementation
...
Replace SHA-1 implementation from AXTLS with a dedicated iPXE
implementation which is around 40% smaller. This implementation has
been verified using the existing SHA-1 self-tests (including the NIST
SHA-1 test vectors).
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-04 17:42:29 +00:00
Michael Brown
5a80c11062
[crypto] Use ANS X9.82 Approved get_random_nz() for RSA
...
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-02-21 12:43:03 +00:00
Shao Miller
3b51710156
[legal] Add FILE_LICENCE macro to some GPL-v2-or-later files
...
Changes were made to files where the licence text within the files
themselves confirms that the files are GPL version 2 or later.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-12-03 23:38:15 +00:00
Michael Brown
e950dc04ba
[crypto] Add our own general-purpose cipher-block chaining routines
2009-02-19 01:23:50 +00:00
Michael Brown
8e960eb67c
[tls] Use our own ASN.1 routines for certificate parsing
...
Use our own, more robust, ASN.1 parsing routines to extract the RSA
public key from a server certificate. Remove the now-unused AXTLS
ASN.1 parser.
2009-02-10 18:30:17 +00:00
Michael Brown
9c71949d1f
[crypto] Remove spurious #include "config.h"
2008-09-25 01:55:48 +01:00
Holger Lubitz
dea89e8d62
use malloc attribute
2007-08-20 20:28:23 +02:00
Michael Brown
74ad5014c5
Inhibit compiler warning
2007-07-30 02:58:22 +01:00
Michael Brown
9a9f46ff58
Upgrade AXTLS import to version 1.1.5-a
2007-07-30 02:48:00 +01:00
Holger Lubitz
42910594f7
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
2007-07-27 21:33:53 +02:00
Holger Lubitz
426c2c150d
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
2007-07-27 21:31:11 +02:00
Marty Connor
c77704cb60
Warnings purge: src/{crypto,hci,net}
2007-07-03 13:20:22 -04:00
Michael Brown
ff84a66c35
Conflicts with native asn1.c
2007-06-08 12:37:35 +00:00
Michael Brown
e01aadd5a7
Required for public key extraction
2007-02-01 09:13:27 +00:00
Michael Brown
d467552367
Vanilla copies from axtls
2007-02-01 04:20:12 +00:00
Michael Brown
5c3837e0ed
Quick hacks to get it working
2007-02-01 02:20:35 +00:00
Michael Brown
6c2f0e1bf4
Original axtls RSA code
2007-01-31 22:18:29 +00:00
Michael Brown
869f9bcb23
Adding missing include
2007-01-31 12:19:50 +00:00
Michael Brown
413c554b34
We need this, I think
2007-01-31 03:50:49 +00:00
Michael Brown
89c3c67c51
Should be correct for building RSA
2007-01-28 19:50:43 +00:00
Michael Brown
9542c016cd
Add aes.c and required headers from axtls tree
2007-01-26 01:59:37 +00:00
Michael Brown
7b8859ad15
Enable the axtls code to at least build within gPXE
2007-01-26 01:55:34 +00:00