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