init is not necessary

update-fork
MITSUNARI Shigeo 4 years ago
parent c6c6e49eb8
commit 90b4dc254e
  1. 2
      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) 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 iBuf = 0;
uint8_t dstSizeBuf = uint8_t(dstSize); uint8_t dstSizeBuf = uint8_t(dstSize);
cybozu::Set16bitAsBE(lenBuf, uint16_t(outSize)); cybozu::Set16bitAsBE(lenBuf, uint16_t(outSize));

Loading…
Cancel
Save