Michael Brown
413c554b34
We need this, I think
18 vuotta sitten
Michael Brown
2e0548e17e
Force inlining
18 vuotta sitten
Michael Brown
a3695b1ff6
Placeholder for TLS insertion
18 vuotta sitten
Michael Brown
1f5f900595
Add HTTPS port
18 vuotta sitten
Michael Brown
2d726144f7
Filter insertion now actually works
18 vuotta sitten
Michael Brown
21f3789ec8
Swap downstream/upstream order so that debug messages for filters show
up in the same colour as debug messages for the application stream.
18 vuotta sitten
Michael Brown
1fbd6f7d76
...but not when it's being used as a digest algorithm...
18 vuotta sitten
Michael Brown
a502fcda45
The null crypto algorithm should at least copy data...
18 vuotta sitten
Michael Brown
138967dd6b
Tidy up debug messages
18 vuotta sitten
Michael Brown
e38e516463
Add insert_filter() function
18 vuotta sitten
Michael Brown
a008f9e85b
Add null crypto algorithm
18 vuotta sitten
Michael Brown
6d32f0e6e2
Changed to use the generic stream API.
18 vuotta sitten
Michael Brown
02f18565da
First sketch of stream API
18 vuotta sitten
Michael Brown
55601b2d38
Placeholder
18 vuotta sitten
Michael Brown
0e996b81cf
Added blocksize for the benefit of HMAC code
18 vuotta sitten
Michael Brown
811db204a6
Added cipher wrapper functions
18 vuotta sitten
Michael Brown
b3e4418ea8
Missing check-in
18 vuotta sitten
Michael Brown
db2fde474e
Generalise digest_algorithm to crypto_algorithm.
18 vuotta sitten
Michael Brown
2f7eac1646
Low-overhead filter streams
18 vuotta sitten
Michael Brown
ddf3b56d47
Definition of a (hopefully) generic stream API
18 vuotta sitten
Michael Brown
395c76e94d
Use "dbg_stream" rather than "stream" as a variable name in
DBG_AC_IF(), to avoid namespace collisions.
18 vuotta sitten
Michael Brown
7d9267561b
Don't call PXENV_STOP_UNDI in the kpxeprefix. This slighy breaks the
clean separation between loading and starting, but does mean that more
PXE stacks survive the process.
18 vuotta sitten
Michael Brown
2cf1e33df1
Split bootsector execution code out into bootsector.c.
Added basic El Torito ISO image boot capability
18 vuotta sitten
Michael Brown
bde8878eef
Keep HTTP progress updated, and display a progress indicator during the
download
18 vuotta sitten
Michael Brown
1a79437888
Added async_block_progress() and default SIGUPDATE handler.
18 vuotta sitten
Michael Brown
c42a384709
Moved most buffer debug messages to DBG2.
Make expand_buffer() a non-inline function, so that we can add debug
messages.
Expandable buffers now don't *always* round up to the next power of two.
This allows e.g. loading a 137MB ISO image on a machine with only 256MB
RAM...
18 vuotta sitten
Michael Brown
89c3c67c51
Should be correct for building RSA
18 vuotta sitten
Michael Brown
b3b6b25aeb
Handle (64-bit) / (32-bit) = (64-bit), i.e. one step beyond that
provided by the divl instruction.
18 vuotta sitten
Michael Brown
bd873525ff
Add matrixssl directory
18 vuotta sitten
Michael Brown
6417a6adf0
Avoid barfing on gcc's implicit memcpy()s
18 vuotta sitten
Michael Brown
3bb7c19779
Allow MatrixSSL code to compile inside gPXE
18 vuotta sitten
Michael Brown
afe4e011ac
Move tolower() etc to ctype.h as per ISO C
18 vuotta sitten
Michael Brown
bf9ec8102f
Add 64-bit rotates
18 vuotta sitten
Michael Brown
7cdc6529bb
Build external axtls code
18 vuotta sitten
Michael Brown
9542c016cd
Add aes.c and required headers from axtls tree
18 vuotta sitten
Michael Brown
7b8859ad15
Enable the axtls code to at least build within gPXE
18 vuotta sitten
Michael Brown
7993488a68
#if 0 out for now
18 vuotta sitten
Michael Brown
f59281d8f6
Yet more synonyms that people tend to use.
18 vuotta sitten
Michael Brown
da9dc834b1
Help quick testing of building Linux code inside gPXE
18 vuotta sitten
Michael Brown
9cf5c4557d
Add Linux-compatible rol32/ror32 functions. Amazingly, gcc will
optimise these down to the correct single "roll"/"rorl" instruction.
18 vuotta sitten
Michael Brown
6a765fdc15
Use base "0" in strtoul for consistency with "mem="
18 vuotta sitten
Michael Brown
99cb46943f
"vga=" is specified in decimal, not hex.
18 vuotta sitten
Michael Brown
ebb00e032c
Misread the definition of the type_of_loader field; it should include a
version.
18 vuotta sitten
Michael Brown
92a78c8e15
Added SIGKILL handler
18 vuotta sitten
Michael Brown
13d9a660ca
Zeroing out memory before using it can be so important.
18 vuotta sitten
Michael Brown
d6909f65f0
Actually, it's probably safer *not* to leave child processes hanging
around which still hold pointers to variables belonging to our parent...
18 vuotta sitten
Michael Brown
b6194b8cb9
Note that the SIGCHLD handler could be re-entered.
18 vuotta sitten
Michael Brown
1411876e26
Propagate return status code from last child to fail.
18 vuotta sitten
Michael Brown
cde6d776e3
Handle structured error codes.
18 vuotta sitten
Michael Brown
18f9f939a8
Introduce structured error codes.
18 vuotta sitten