1
1
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:
Joost Rijneveld 2019-01-15 16:07:48 +01:00
parent fa6aedb068
commit b5e46c91b8
No known key found for this signature in database
GPG Key ID: A4FE39CF49CBC553

View File

@ -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];