Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
peer/uprng: Remove unneeded carry add.
This removes an unnecessary and technically incorrect carry add on the nonce increment. While there really isn't a security concern since the wraparound will never actually be hit in practice given it's working modulo 2^96 and only incremented once on each reseed, removing it to have the correct wraparound behavior also has the benefit of one less addition on every invocation.
- Loading branch information