From 90b4dc254ee25d9b0298828e5333b9ebd239f533 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Wed, 19 Aug 2020 10:20:24 +0900 Subject: [PATCH] init is not necessary --- src/fp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fp.cpp b/src/fp.cpp index 2b20108..edf47d2 100644 --- a/src/fp.cpp +++ b/src/fp.cpp @@ -139,7 +139,7 @@ void expand_message_xmd(uint8_t out[], size_t outSize, const void *msg, size_t m /* Z_apd | msg | BE(outSize, 2) | BE(0, 1) | DST | BE(dstSize, 1) */ - uint8_t lenBuf[2] = { 1, 0 }; // 256 = outSize + uint8_t lenBuf[2]; uint8_t iBuf = 0; uint8_t dstSizeBuf = uint8_t(dstSize); cybozu::Set16bitAsBE(lenBuf, uint16_t(outSize));