[crypto] Split crypto_algorithm into {digest,cipher,pubkey}_algorithm
authorMichael Brown <mcb30@etherboot.org>
Wed, 18 Feb 2009 21:56:02 +0000 (21:56 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 18 Feb 2009 22:17:41 +0000 (22:17 +0000)
commita3219b24a8ea4699e7b04cf1f1131aade9fcd855
treedf3d4cc515e6a02203e8560ff881351daf48111d
parent5de8305febf0fe4f2b8a89753cefdfedc519cee2
[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.
16 files changed:
src/crypto/axtls_aes.c
src/crypto/axtls_sha1.c
src/crypto/chap.c
src/crypto/cipher.c
src/crypto/crypto_null.c
src/crypto/hmac.c
src/crypto/md5.c
src/include/gpxe/aes.h
src/include/gpxe/chap.h
src/include/gpxe/crypto.h
src/include/gpxe/hmac.h
src/include/gpxe/md5.h
src/include/gpxe/rsa.h
src/include/gpxe/sha1.h
src/include/gpxe/tls.h
src/net/tls.c