[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.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef _GPXE_MD5_H
|
||||
#define _GPXE_MD5_H
|
||||
|
||||
struct crypto_algorithm;
|
||||
struct digest_algorithm;
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user