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, 0x1B, 0x37, 0xDD, 0x34, 0xB3, 0xB2,
+ 0x01, 0xD4, 0x3C, 0x57, 0xBC, 0xDE, 0x11, 0x58,
+ 0x38, 0xF0, 0xDF, 0x70, 0x1D, 0xA9, 0x3C, 0x3B,
+ 0xF2, 0xC9, 0xC8, 0x68, 0x96, 0xE7, 0xE6, 0xC7 };
+ uint8_t hash[SHA256_HASH_BYTES];
+ sha256((sha256_hash_t*)hash, data1, 3*32*8);
+ cli_putstr_P(PSTR("\r\n hash(data1) = "));
+ cli_hexdump(hash, 32);
+ sha256((sha256_hash_t*)hash, data2, 3*32*8);
+ cli_putstr_P(PSTR("\r\n hash(data2) = "));
+ cli_hexdump(hash, 32);