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 anni fa
Michael Brown
1c67623e37
[build] Enable building with the Intel C compiler (icc)
15 anni fa
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 anni fa
Holger Lubitz
29134e35dc
make md5_steps static
17 anni fa
Michael Brown
cc8f9e4b7f
Make context sizes available for statically-allocated structures
18 anni fa
Michael Brown
0e996b81cf
Added blocksize for the benefit of HMAC code
18 anni fa
Michael Brown
db2fde474e
Generalise digest_algorithm to crypto_algorithm.
18 anni fa
Michael Brown
fdaddd969a
Added "name" field to digest algorithms
18 anni fa
Michael Brown
c5428303e4
Added generic CHAP layer, independent of iSCSI
18 anni fa
Michael Brown
57d539aab0
Made it temporarily possible to call MD5 routines directly from external
code, rather than going through the digest layer.
Removed a spurious line of constants.
18 anni fa
Michael Brown
4ef1ef0ee4
Restored the le32_to_cpus() and cpu_to_le32s() calls
18 anni fa
Michael Brown
013f8c119a
Tidied up.
18 anni fa
Michael Brown
2eed0bb8e5
Reduced size from 2087 bytes to 1056 bytes
18 anni fa
Michael Brown
48bdde5d7b
Taken from Linux's md5.c. This implementation is not very
size-efficient, and will probably be rewritten.
The md5.c from MatrixSSL is too ugly to consider importing.
18 anni fa