diff options
| author | Michael Brown | 2007-01-30 15:55:17 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-30 15:55:17 +0100 |
| commit | db2fde474e4b67482251b3cae5e0068d46af4ab5 (patch) | |
| tree | 9e2d2e23241302c1d819b8019c49b311759d85e9 /src/include/gpxe/chap.h | |
| parent | Low-overhead filter streams (diff) | |
| download | ipxe-db2fde474e4b67482251b3cae5e0068d46af4ab5.tar.gz ipxe-db2fde474e4b67482251b3cae5e0068d46af4ab5.tar.xz ipxe-db2fde474e4b67482251b3cae5e0068d46af4ab5.zip | |
Generalise digest_algorithm to crypto_algorithm.
Diffstat (limited to 'src/include/gpxe/chap.h')
| -rw-r--r-- | src/include/gpxe/chap.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <stdint.h> #include <gpxe/md5.h> -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 ); |
