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 >
il y a 12 ans
Michael Brown
5a80c11062
[crypto] Use ANS X9.82 Approved get_random_nz() for RSA
Signed-off-by: Michael Brown <mcb30@ipxe.org >
il y a 12 ans
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 >
il y a 14 ans
Michael Brown
e950dc04ba
[crypto] Add our own general-purpose cipher-block chaining routines
il y a 15 ans
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.
il y a 15 ans
Michael Brown
9c71949d1f
[crypto] Remove spurious #include "config.h"
il y a 16 ans
Holger Lubitz
dea89e8d62
use malloc attribute
il y a 17 ans
Michael Brown
74ad5014c5
Inhibit compiler warning
il y a 17 ans
Michael Brown
9a9f46ff58
Upgrade AXTLS import to version 1.1.5-a
il y a 17 ans
Holger Lubitz
42910594f7
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
il y a 17 ans
Holger Lubitz
426c2c150d
disable AES_convert_key by #if 0'ing it out (suggested by mcb30)
il y a 17 ans
Marty Connor
c77704cb60
Warnings purge: src/{crypto,hci,net}
il y a 17 ans
Michael Brown
ff84a66c35
Conflicts with native asn1.c
il y a 17 ans
Michael Brown
e01aadd5a7
Required for public key extraction
il y a 17 ans
Michael Brown
d467552367
Vanilla copies from axtls
il y a 17 ans
Michael Brown
5c3837e0ed
Quick hacks to get it working
il y a 17 ans
Michael Brown
6c2f0e1bf4
Original axtls RSA code
il y a 17 ans
Michael Brown
869f9bcb23
Adding missing include
il y a 17 ans
Michael Brown
413c554b34
We need this, I think
il y a 17 ans
Michael Brown
89c3c67c51
Should be correct for building RSA
il y a 17 ans
Michael Brown
9542c016cd
Add aes.c and required headers from axtls tree
il y a 17 ans
Michael Brown
7b8859ad15
Enable the axtls code to at least build within gPXE
il y a 17 ans