Skip to content
Snippets Groups Projects
Commit 7309ee03 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

EAN: fix return type of decode()

parent e7a31698
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ static enc_t encode(plain_t v, sig_t A, sig_t B) {
* decodes ANB-coded values.
* No signature checking is performed! This has to be done beforehand
**/
static bool decode(enc_t vc, sig_t A, sig_t B) {
static plain_t decode(enc_t vc, sig_t A, sig_t B) {
return (vc -B)/A;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment