*
*/
#include <string.h>
-#include <inttypes.h>
#include "../lib/bswap.h"
#include "sha256.h"
static const uint8_t padding[64] = { 0x80, };
/* Save number of bits */
- bits = sctx->count << 3;
+ bits = (uint64_t) sctx->count << 3;
/* Pad out to 56 mod 64. */
index = sctx->count & 0x3f;