git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a0e420
)
lib/crypto: fix hmac_sha256_final() prototype
author
Stefan Metzmacher
<metze@samba.org>
Wed, 22 Feb 2012 08:01:10 +0000
(09:01 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 27 Feb 2012 11:51:33 +0000
(12:51 +0100)
metze
lib/crypto/hmacsha256.h
patch
|
blob
|
history
diff --git
a/lib/crypto/hmacsha256.h
b/lib/crypto/hmacsha256.h
index 8960c636c1b91f20413985b8a3cd21e5042c27e8..d9ecac7af40c636a6e4dd766b163305b7c1826ee 100644
(file)
--- 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 */