From nobody Wed Jan 10 06:10:07 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T8y801yXZz562N6; Wed, 10 Jan 2024 06:10:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T8y8004KGz4b78; Wed, 10 Jan 2024 06:10:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704867008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Tr+tS2HsY3pDhAWOl0/9mkvUTMpRaUyeDk1dah0ZkfQ=; b=KupuUMAvD1RIfn4i1QLStuIeULAwwqZzupU3CousAhsdMz1YumJxu/x67gD1kpTQgzrQnP yre1Td48gI2SWb3obZ+OEU2i9V/qmA08zxNnRaDOGT/5kCClgYn9Y3VUnROD7ZRQXOH2YO qdsVXSB6z3MjqamiUU/xf/CFOP348FTUojPpU8f91JEG1+nM8wCnsMTAv9ityKzaY8yNdh AmCj9GiIPMGMzh0RUn1CqWF8eXs/OdOIlHs+T71w7kCAafdXBfPvJiibIFewq4nE1r8ujJ hxyVZi3PMp6d4iZOGfqPA0rqwPlYC/Tixem4wkllCnvxz57iO04FWhAq7ExMAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704867008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Tr+tS2HsY3pDhAWOl0/9mkvUTMpRaUyeDk1dah0ZkfQ=; b=s6TDMls1Viqc9HQUsy8m0QJT3e/pE5Sv/vNcb8aPB9jm2Br8j65qujmazAg4mxM4gA9uh4 VmfZFuYQop+rfT73WFYV8HU1/EHcNbzwPOZxe76JZWZYHGpo4/GXu8c7fXJMSLjTMIIUot eFmB6NkG8AFTGwwD1jkNZ7TjVZIaSi3/zi2SJGdsBCUk2Y9yBVSa5ziVzwrZFG6fURFKKm z0m+qdSqJSnYoqpCkULueGlG7MXX9He9NjOCUrtmSbhN58Fl0jas0kpLHlyDX7fRxiXm5D fTXw02QFYCxT5ip2/9tVLfE1LDmTkp1K8vV1TDLv2p5zbWKKXVbqIv0IWKP1Og== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704867008; a=rsa-sha256; cv=none; b=QzlrzE0rrizttBzoZHCtSYWcfq41Ey9Z4675XGDYrLIXbl9FpPwfTicoLNYj1Sr4xwuphk 9I95wSqTqdEC790uLZpes6FXdxL87ksX1mL8WmWRZc2y7fKdO/W3HTVwqhA1HWJo38P1Me R5GyjPVZfyMVaXt/isSZLANv1zwt2h9OfLYMb0z3ZMx7fck+RHVsoyUkvo1LuqIW7v8u22 d5aYekxScalrY9OvMsv2EHoVqMWSb28UXJ11gHeWtC3WnEIZ43gy3FUw104sxGMMsKmV6/ doA4uBwBrDO2S/pCOtHP2t0162TH9GxREpzF1XglbLfaKWTRm4sMNJR7UkDJZg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T8y7z6Gq0zNZY; Wed, 10 Jan 2024 06:10:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40A6A7OF012215; Wed, 10 Jan 2024 06:10:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40A6A7te012210; Wed, 10 Jan 2024 06:10:07 GMT (envelope-from git) Date: Wed, 10 Jan 2024 06:10:07 GMT Message-Id: <202401100610.40A6A7te012210@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "David E. O'Brien" Subject: git: dafd0d685531 - main - History for arc4random_*() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: obrien X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dafd0d685531e8bc42d51b2128c287137791894b Auto-Submitted: auto-generated The branch main has been updated by obrien: URL: https://cgit.FreeBSD.org/src/commit/?id=dafd0d685531e8bc42d51b2128c287137791894b commit dafd0d685531e8bc42d51b2128c287137791894b Author: David E. O'Brien AuthorDate: 2024-01-06 06:01:00 +0000 Commit: David E. O'Brien CommitDate: 2024-01-10 06:09:47 +0000 History for arc4random_*() --- lib/libc/gen/arc4random.3 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/libc/gen/arc4random.3 b/lib/libc/gen/arc4random.3 index 62b62e883e9c..1d5b3b9f43cb 100644 --- a/lib/libc/gen/arc4random.3 +++ b/lib/libc/gen/arc4random.3 @@ -132,6 +132,17 @@ functions using .Sh HISTORY These functions first appeared in .Ox 2.1 . +.Fn arc4random +first appeared in +.Fx 3.0 . +.Fn arc4random_buf +and +.Fn arc4random_uniform +first appeared in +.Fx 8.0 . +.Fn arc4random_stir +was removed in +.Fx 12.0 . .Pp The original version of this random number generator used the RC4 (also known as ARC4) algorithm.