From db2fde474e4b67482251b3cae5e0068d46af4ab5 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 30 Jan 2007 14:55:17 +0000 Subject: Generalise digest_algorithm to crypto_algorithm. --- src/include/gpxe/chap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/gpxe/chap.h') diff --git a/src/include/gpxe/chap.h b/src/include/gpxe/chap.h index c85d92f82..0ea7ac5c7 100644 --- a/src/include/gpxe/chap.h +++ b/src/include/gpxe/chap.h @@ -10,12 +10,12 @@ #include #include -struct digest_algorithm; +struct crypto_algorithm; /** A CHAP challenge/response */ struct chap_challenge { /** Digest algorithm used for the response */ - struct digest_algorithm *digest; + struct crypto_algorithm *digest; /** Context used by the digest algorithm */ uint8_t *digest_context; /** CHAP response */ @@ -25,7 +25,7 @@ struct chap_challenge { }; extern int chap_init ( struct chap_challenge *chap, - struct digest_algorithm *digest ); + struct crypto_algorithm *digest ); extern void chap_update ( struct chap_challenge *chap, const void *data, size_t len ); extern void chap_respond ( struct chap_challenge *chap ); -- cgit v1.2.3-55-g7522