Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMAC result different on powerup #22

Open
git-tiger opened this issue Mar 5, 2018 · 1 comment
Open

HMAC result different on powerup #22

git-tiger opened this issue Mar 5, 2018 · 1 comment

Comments

@git-tiger
Copy link

I'm new to SH256 and HMAC.

In my loop, I have
`
void loop(void) {

uint8_t sk[32] = {0x91,0x2F,0xC9,0xA2,0x46,0x16,0xB7,0x60,0x40,0xCA,0x7A,0x81,0x44,0x22,0xFB,0xB9,0x60,0x6A,0x70,0x20,0x56,0x69,0xF7,0x12,0x19,0x5B,0xA4,0x62,0xC5,0x64,0x52,0x67};

Sha256.initHmac(sk, 32);
Sha256.print("68C63AA0F4AE");
printHash(Sha256.resultHmac());
delay(1000);

}
`
The key and message is the same, but the result is different everytime I reboot the ESP.

@daknuett
Copy link

daknuett commented Mar 5, 2018

This is not supposed to happen. But this project has no support anymore. (And it is not libre, so people cannot make changes to the source code.)

Please open an issue somewhere else, for instance:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants