Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Add implementation of the hmac calculation #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions modules/crypto_module/src/crypto_module_1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,13 @@ uint8_t third_party_library_calc_hmac(const uint8_t * const message, size_t len,
if (message[1] == 2) {
if (message[2] == 3) {
if (message[3] == 4) {
return 0;
int x[3];
int y = 2;
int z = x[y];
}
}
}
}
}
return 0;
}
}