Joshua Oreman
2dfe4c414a
[crypto] Make AES context size and algorithm structure externally available
...
This is required to support modes of AES beyond cipher-block chaining.
Signed-off-by: Marty Connor <mdc@etherboot.org>
2010-01-05 09:04:25 -05:00
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.
2009-05-18 08:33:25 +01:00
Michael Brown
9937bf13c9
[crypto] Allow creation of arbitrary CBC cipher algorithms using CBC_CIPHER()
...
Given any block cipher, a corresponding CBC mode of behaviour for the
cipher can be created using the CBC_CIPHER() macro.
2009-02-19 01:53:25 +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
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.
2009-02-18 22:17:41 +00:00
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.
2009-02-18 21:33:54 +00:00
Michael Brown
991f907d5b
[crypto] Rename aes_algorithm to aes_cbc_algorithm
2009-02-18 21:28:46 +00:00
Michael Brown
9aa61ad5a2
Add per-file error identifiers
2007-07-24 17:11:31 +01:00
Michael Brown
1ae70e12e5
Added wrapper for AXTLS AES code
2007-01-31 18:09:20 +00:00