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.
před 15 roky
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.
před 15 roky
Michael Brown
e950dc04ba
[crypto] Add our own general-purpose cipher-block chaining routines
před 15 roky
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.
před 15 roky
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.
před 15 roky
Michael Brown
991f907d5b
[crypto] Rename aes_algorithm to aes_cbc_algorithm
před 15 roky
Michael Brown
9aa61ad5a2
Add per-file error identifiers
před 17 roky
Michael Brown
1ae70e12e5
Added wrapper for AXTLS AES code
před 18 roky