summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/crypto.h
Commit message (Collapse)AuthorAgeFilesLines
* [build] Rename gPXE to iPXEMichael Brown2010-04-201-156/+0Star
| | | | | | | | | | | Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [crypto] Add a placeholder for a proper random number generatorJoshua Oreman2010-01-051-0/+2
| | | | | | Currently it just calls random(). Signed-off-by: Marty Connor <mdc@etherboot.org>
* [crypto] Add parentheses around len argument in blocksize assertJoshua Oreman2010-01-051-2/+2
| | | | | | | | This fixes an issue where passing a length as a compound expression (e.g. using `hdrlen + datalen') would trigger compiler warnings and potentially precedence-related errors. Signed-off-by: Marty Connor <mdc@etherboot.org>
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-181-0/+2
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* [crypto] Change cipher_{en,de}crypt() to void functionsMichael Brown2009-02-191-9/+20
| | | | | | It is a programming error, not a runtime error, if we attempt to use block ciphers with an incorrect blocksize, so use an assert() rather than an error status return.
* [crypto] Split crypto_algorithm into {digest,cipher,pubkey}_algorithmMichael Brown2009-02-181-43/+68
| | | | | | | | 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.
* Add per-file error identifiersMichael Brown2007-07-241-21/+7Star
|
* Fix prototypesMichael Brown2007-02-011-4/+4
|
* Added setiv methodMichael Brown2007-01-311-0/+16
|
* Add null crypto algorithmMichael Brown2007-01-311-0/+2
|
* Added cipher wrapper functionsMichael Brown2007-01-301-0/+26
|
* Generalise digest_algorithm to crypto_algorithm.Michael Brown2007-01-301-25/+65
|
* Added "name" field to digest algorithmsMichael Brown2006-11-211-0/+2
|
* Generalisation of a message digest algorithmMichael Brown2006-09-111-0/+44