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