From a3219b24a8ea4699e7b04cf1f1131aade9fcd855 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 18 Feb 2009 21:56:02 +0000 Subject: [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. --- src/include/gpxe/md5.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/gpxe/md5.h') diff --git a/src/include/gpxe/md5.h b/src/include/gpxe/md5.h index 304a0e646..f8976a19b 100644 --- a/src/include/gpxe/md5.h +++ b/src/include/gpxe/md5.h @@ -1,7 +1,7 @@ #ifndef _GPXE_MD5_H #define _GPXE_MD5_H -struct crypto_algorithm; +struct digest_algorithm; #include @@ -17,6 +17,6 @@ struct md5_ctx { #define MD5_CTX_SIZE sizeof ( struct md5_ctx ) -extern struct crypto_algorithm md5_algorithm; +extern struct digest_algorithm md5_algorithm; #endif /* _GPXE_MD5_H */ -- cgit v1.2.3-55-g7522