Searched hist:268642 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/lib/libc/gen/
H A Darc4random.cdiff 268642 Tue Jul 15 00:29:49 MDT 2014 pfg libc/gen: small updates to code originating at OpenBSD

arc4random.c
- CVS rev. 1.22
Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as
``-upper_bound % upper_bound''. Simplifies the code and makes it the
same on both ILP32 and LP64 architectures, and also slightly faster on
LP64 architectures by using a 32-bit remainder instead of a 64-bit
remainder.
- CVS rev. 1.23
Spacing

readpassphrase.c
-CVS rev. v 1.24
most obvious unsigned char casts for ctype

Obtained from: OpenBSD
MFC after: 5 days

Completed in 55 milliseconds