From 229128f7e14b215787eb8d80851e953f324b4012 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 22 Feb 2012 09:01:10 +0100 Subject: lib/crypto: fix hmac_sha256_final() prototype metze --- lib/crypto/hmacsha256.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/crypto') diff --git a/lib/crypto/hmacsha256.h b/lib/crypto/hmacsha256.h index 8960c636c1..d9ecac7af4 100644 --- a/lib/crypto/hmacsha256.h +++ b/lib/crypto/hmacsha256.h @@ -33,6 +33,6 @@ struct HMACSHA256Context { void hmac_sha256_init(const uint8_t *key, size_t key_len, struct HMACSHA256Context *ctx); void hmac_sha256_update(const uint8_t *data, size_t data_len, struct HMACSHA256Context *ctx); -void hmac_sha256_final(uint8_t digest[20], struct HMACSHA256Context *ctx); +void hmac_sha256_final(uint8_t digest[SHA256_DIGEST_LENGTH], struct HMACSHA256Context *ctx); #endif /* _HMAC_SHA256_H */ -- cgit