aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/hmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gpxe/hmac.h')
-rw-r--r--src/include/gpxe/hmac.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gpxe/hmac.h b/src/include/gpxe/hmac.h
index fd34db04a..67aefdce1 100644
--- a/src/include/gpxe/hmac.h
+++ b/src/include/gpxe/hmac.h
@@ -16,15 +16,15 @@
* @v data Data
* @v len Length of data
*/
-static inline void hmac_update ( struct crypto_algorithm *digest,
+static inline void hmac_update ( struct digest_algorithm *digest,
void *digest_ctx, const void *data,
size_t len ) {
digest_update ( digest, digest_ctx, data, len );
}
-extern void hmac_init ( struct crypto_algorithm *digest, void *digest_ctx,
+extern void hmac_init ( struct digest_algorithm *digest, void *digest_ctx,
void *key, size_t *key_len );
-extern void hmac_final ( struct crypto_algorithm *digest, void *digest_ctx,
+extern void hmac_final ( struct digest_algorithm *digest, void *digest_ctx,
void *key, size_t *key_len, void *hmac );
#endif /* _GPXE_HMAC_H */