+void testrun_hmacsha256(void){
+ uint8_t key[] = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
+ 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF,
+ 0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF,
+ 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
+ 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF,
+ 0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF,
+ 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
+ 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF };
+ uint8_t msg[] = { 0x00 };
+ uint8_t mac[HMAC_SHA256_BYTES];
+ hmac_sha256(mac, key, 512, msg, 0);
+ cli_putstr_P(PSTR("\r\n quick hmac = "));
+ cli_hexdump(mac, HMAC_SHA256_BYTES);
+ cli_putstr_P(PSTR("\r\n"));