freebsd-dev/contrib/ntp/sntp
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
..
ag-tpl
harden MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
include MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
libevent Update userland arc4random() with OpenBSD's Chacha20 based arc4random(). 2018-08-19 17:40:50 +00:00
libopts MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
libpkgver
loc
m4 MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
scripts MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
tests MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
unity MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
aclocal.m4 MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
bincheck.mf
check-libntp.mf MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
check-libopts.mf
config.h.in MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
configure MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
configure.ac MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
COPYRIGHT MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
crypto.c MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
crypto.h MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
data_formats.h
deps-ver
depsver.mf
includes.mf
invoke-sntp.menu
invoke-sntp.texi MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
kod_management.c MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
kod_management.h
log.c MFV ntp-4.2.8p4 (r289715) 2015-10-22 19:42:57 +00:00
log.h MFV ntp-4.2.8p4 (r289715) 2015-10-22 19:42:57 +00:00
main.c MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
main.h
Makefile.am MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
Makefile.in MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
networking.c MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
networking.h
scm-rev MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
sntp-opts.c MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
sntp-opts.def MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
sntp-opts.h MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
sntp.1sntpman MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
sntp.1sntpmdoc MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
sntp.c
sntp.html MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
sntp.man.in MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
sntp.mdoc.in MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
sntp.texi
utilities.c MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00
utilities.h
version.c MFV r330102: ntp 4.2.8p11 2018-02-28 07:59:55 +00:00