opnsense-src/contrib/ntp/lib/isc
Xin LI c1e80940f3 Update userland arc4random() with OpenBSD's Chacha20 based arc4random().
ObsoleteFiles.inc:

    Remove manual pages for arc4random_addrandom(3) and
    arc4random_stir(3).

  contrib/ntp/lib/isc/random.c:
  contrib/ntp/sntp/libevent/evutil_rand.c:

    Eliminate in-tree usage of arc4random_addrandom().

  crypto/heimdal/lib/roken/rand.c:
  crypto/openssh/config.h:

    Eliminate in-tree usage of arc4random_stir().

  include/stdlib.h:

    Remove arc4random_stir() and arc4random_addrandom() prototypes,
    provide temporary shims for transistion period.

  lib/libc/gen/Makefile.inc:

    Hook arc4random-compat.c to build, add hint for Chacha20 source for
    kernel, and remove arc4random_addrandom(3) and arc4random_stir(3)
    links.

  lib/libc/gen/arc4random.c:

    Adopt OpenBSD arc4random.c,v 1.54 with bare minimum changes, use the
    sys/crypto/chacha20 implementation of keystream.

  lib/libc/gen/Symbol.map:

    Remove arc4random_stir and arc4random_addrandom interfaces.

  lib/libc/gen/arc4random.h:

    Adopt OpenBSD arc4random.h,v 1.4 but provide _ARC4_LOCK of our own.

  lib/libc/gen/arc4random.3:

    Adopt OpenBSD arc4random.3,v 1.35 but keep FreeBSD r114444 and
    r118247.

  lib/libc/gen/arc4random-compat.c:

    Compatibility shims for arc4random_stir and arc4random_addrandom
    functions to preserve ABI.  Log once when called but do nothing
    otherwise.

  lib/libc/gen/getentropy.c:
  lib/libc/include/libc_private.h:

    Fold __arc4_sysctl into getentropy.c (renamed to arnd_sysctl).
    Remove from libc_private.h as a result.

  sys/crypto/chacha20/chacha.c:
  sys/crypto/chacha20/chacha.h:

    Make it possible to use the kernel implementation in libc.

PR:		182610
Reviewed by:	cem, markm
Obtained from:	OpenBSD
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D16760
2018-08-19 17:40:50 +00:00
..
alpha/include/isc MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
ia64/include/isc MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
include/isc MFV r298691: 2016-04-27 07:46:38 +00:00
mips/include/isc MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
nls MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
noatomic/include/isc MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
nothreads MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
powerpc/include/isc MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
pthreads MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
sparc64/include/isc MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
tests MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
unix MFV ntp-4.2.8p3 (r284990). 2015-07-05 15:42:16 +00:00
win32 MFV r293415: 2016-01-08 15:53:48 +00:00
x86_32/include/isc MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
x86_64/include/isc MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
api MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
app_api.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
assertions.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
Atffile MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
backtrace-emptytbl.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
backtrace.c MFV r293415: 2016-01-08 15:53:48 +00:00
base32.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
base64.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
bitstring.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
buffer.c MFV r293415: 2016-01-08 15:53:48 +00:00
bufferlist.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
commandline.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
entropy.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
error.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
event.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
fsaccess.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
hash.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
heap.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
hex.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
hmacmd5.c MFV r298691: 2016-04-27 07:46:38 +00:00
hmacsha.c MFV r298691: 2016-04-27 07:46:38 +00:00
httpd.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
inet_aton.c MFV r293415: 2016-01-08 15:53:48 +00:00
inet_ntop.c MFV ntp 4.2.8p2 (r281348) 2015-05-04 04:45:59 +00:00
inet_pton.c MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
iterated_hash.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
lex.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
lfsr.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
lib.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
log.c MFV r293415: 2016-01-08 15:53:48 +00:00
md5.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
mem.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
mem_api.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
mutexblock.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
netaddr.c MFV r308954: 2016-11-22 08:27:49 +00:00
netscope.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
ondestroy.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
parseint.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
portset.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
print.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
quota.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
radix.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
random.c Update userland arc4random() with OpenBSD's Chacha20 based arc4random(). 2018-08-19 17:40:50 +00:00
ratelimiter.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
refcount.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
region.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
result.c MFV ntp 4.2.8p2 (r281348) 2015-05-04 04:45:59 +00:00
rwlock.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
serial.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
sha1.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
sha2.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
sockaddr.c MFV r293415: 2016-01-08 15:53:48 +00:00
socket_api.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
stats.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
string.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
strtoul.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
symtab.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
task.c MFV r293415: 2016-01-08 15:53:48 +00:00
task_api.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
task_p.h MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
taskpool.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
timer.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
timer_api.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
timer_p.h MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00
tsmemcmp.c MFV r298691: 2016-04-27 07:46:38 +00:00
version.c MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284) 2015-03-30 13:30:15 +00:00