Michael Brown
c44a193d0d
[legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
hace 15 años
Michael Brown
323cdf8c4c
[xfer] Implement xfer_vreopen() to properly handle redirections
When handling a redirection event, we need to close the existing
connection before opening the new connection.
hace 15 años
Michael Brown
b4d3d686cc
[crypto] Change cipher_{en,de}crypt() to void functions
It is a programming error, not a runtime error, if we attempt to use
block ciphers with an incorrect blocksize, so use an assert() rather
than an error status return.
hace 15 años
Michael Brown
a3219b24a8
[crypto] Split crypto_algorithm into {digest,cipher,pubkey}_algorithm
The various types of cryptographic algorithm are fundamentally
different, and it was probably a mistake to try to handle them via a
single common type.
pubkey_algorithm is a placeholder type for now.
hace 15 años
Michael Brown
5de8305feb
[crypto] Move AES_convert_key() hack into axtls_aes.c
Although the nature of the hack is essentially unchanged, this allows
us to remove the hardcoded assumption in tls.c that the RX cipher is
AES.
hace 15 años
Michael Brown
991f907d5b
[crypto] Rename aes_algorithm to aes_cbc_algorithm
hace 15 años
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.
hace 15 años
Michael Brown
54fbd11221
[build] Keep gcc 4.4 happy
gcc 4.4 adds another few warnings, and also seems to complain if we
place %ebp in the clobber list for any inline asm.
hace 16 años
Michael Brown
f6a8158eed
Make seek information part of the xfer metadata, rather than an entirely
separate xfer method.
Add missing .alloc_iob entries to several xfer_interface_operations
structures.
hace 17 años
Michael Brown
df868476e7
Various warnings fixups for OpenBSD with gcc-3.3.5.
hace 17 años
Holger Lubitz
f92096d180
use malloc attribute
hace 17 años
Michael Brown
847ac4f336
tls_change_cipher() can complain about null cipher and digest
algorithms; we only need the pubkey check disabled (and only because
pubkey algorithms are not yet integrated into the crypto_algorithm
subsystem).
hace 17 años
Michael Brown
60e3aa4d75
Change #warnings to FIXMEs, so that we can build without NO_WERROR=1
hace 17 años
Michael Brown
6fc9ed167e
TLS now working again.
hace 17 años