mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 23:48:58 +00:00
Remove unused variables from randombytes
This commit is contained in:
parent
fa6aedb068
commit
b5e46c91b8
@ -30,9 +30,6 @@ static void surf(void)
|
|||||||
|
|
||||||
void randombytes(uint8_t *x,uint64_t xlen)
|
void randombytes(uint8_t *x,uint64_t xlen)
|
||||||
{
|
{
|
||||||
uint64_t bak = xlen;
|
|
||||||
uint8_t *xbak = x;
|
|
||||||
|
|
||||||
while (xlen > 0) {
|
while (xlen > 0) {
|
||||||
if (!outleft) {
|
if (!outleft) {
|
||||||
if (!++in[0]) if (!++in[1]) if (!++in[2]) ++in[3];
|
if (!++in[0]) if (!++in[1]) if (!++in[2]) ++in[3];
|
||||||
|
Loading…
Reference in New Issue
Block a user