HomeFreeBSD

libc/resolv: get rid of MD5

Description

libc/resolv: get rid of MD5

MD5 is used by libc/resolv to generate a random sequence id from a
current time stamp. Replace this convoluted mechanism with a call
to arc4random(). This permits us to entirely drop MD5 from libc,
simplifying the MD5 rework proposed in D45670.

Approved by: markj
Reviewed by: kevans, markj
See also: D45670
Event: EuroBSDcon 2025
Differential Revision: https://reviews.freebsd.org/D52784

Details

Provenance
fuzAuthored on Sep 29 2025, 1:53 PM
Reviewer
D45670: lib/libmd: reimplement and enhance md5
Differential Revision
D52784: libc/resolv: get rid of MD5
Parents
rGc16f53782c8b: stress2: Do not try to open a fifo
Branches
Unknown
Tags
Unknown