Searched refs:nonce_buffer (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/random/
H A Drandom-csprng.c1330 static unsigned char nonce_buffer[20+8];
1366 if ((sizeof apid + sizeof atime) > sizeof nonce_buffer)
1372 p = nonce_buffer;
1378 gcry_randomize (nonce_buffer+20, 8, GCRY_WEAK_RANDOM);
1386 gcry_randomize (nonce_buffer+20, 8, GCRY_WEAK_RANDOM);
1396 _gcry_sha1_hash_buffer (nonce_buffer,
1397 nonce_buffer, sizeof nonce_buffer);
1399 memcpy (p, nonce_buffer, n);
1329 static unsigned char nonce_buffer[20+8]; local
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/random/
H A Drandom-csprng.c1330 static unsigned char nonce_buffer[20+8];
1366 if ((sizeof apid + sizeof atime) > sizeof nonce_buffer)
1372 p = nonce_buffer;
1378 gcry_randomize (nonce_buffer+20, 8, GCRY_WEAK_RANDOM);
1386 gcry_randomize (nonce_buffer+20, 8, GCRY_WEAK_RANDOM);
1396 _gcry_sha1_hash_buffer (nonce_buffer,
1397 nonce_buffer, sizeof nonce_buffer);
1399 memcpy (p, nonce_buffer, n);
1329 static unsigned char nonce_buffer[20+8]; local

Completed in 63 milliseconds