This website works better with JavaScript.
Home
Explore
Help
Sign In
kris
/
pqcrypto
mirror of
https://github.com/henrydcase/pqc.git
Watch
1
Star
1
Fork
0
Code
Issues
1
Releases
2
Wiki
Activity
Browse Source
falcon: conversion warning
tags/v0.0.1
John M. Schanck
4 years ago
committed by
Kris Kwiatkowski
parent
c8cfccc488
commit
1ba4f503a7
2 changed files
with
6 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
crypto_sign/falcon-1024/clean/codec.c
+3
-1
crypto_sign/falcon-512/clean/codec.c
+ 3
- 1
crypto_sign/falcon-1024/clean/codec.c
View File
@@ -444,7 +444,9 @@ PQCLEAN_FALCON1024_CLEAN_comp_decode(
}
}
x[u] = (int16_t) m;
if (s) x[u] = -x[u];
if (s) {
x[u] = (int16_t) -x[u];
}
}
return v;
}
+ 3
- 1
crypto_sign/falcon-512/clean/codec.c
View File
@@ -444,7 +444,9 @@ PQCLEAN_FALCON512_CLEAN_comp_decode(
}
}
x[u] = (int16_t) m;
if (s) x[u] = -x[u];
if (s) {
x[u] = (int16_t) -x[u];
}
}
return v;
}
Write
Preview
Loading…
Cancel
Save