From nobody Mon Jul 15 12:37:50 2024 X-Original-To: dev-commits-src-all@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 4WN1v3197jz5QrTR; Mon, 15 Jul 2024 12:37:51 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WN1v30CHwz4GQH; Mon, 15 Jul 2024 12:37:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047071; 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=4yoHhdZs6bA1aTTKj1nsT+sJKa7/cxKb8AnSJMhsgVw=; b=y3vNyJ7Dp6Y/rjQXmJt0/ovNl3E+sXK3Ntq//lkYXOOXYVBtJr7/Uwc+LsD5BHC/IGLkvf sJKD/Wa5YrIX/xZLv8HSsF0IXSkoYHgBz7eLv1WERpN9vy0akbLdyV4bfxIsFxJn0LXNlD Sw8f0zheoow3TK0MOEof+E/muTnK0t14lX52oX1L8aZ4Cyjib70SwGJ9QkBX7m34DPE9fg RPkkGBMdi3sM52C9gI8m5b4Uz7W32j95AtYc4bLPgAHSSlIpbbqi82/9KCn4/Die66L2RP h/6h9mJCZZHJKjrG/mUThH6lHca1ocyC8htxRhF7zWeISpQTARLrnTIlYwlLpQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721047071; a=rsa-sha256; cv=none; b=ucYXWZ7AlvzXk8B7kgvURd9dpjHuf/0pMrniXXEVjzVZthw1qMfa3DoiVaOT3xy+RNYaKY 2qH5y5hJkGaffuYLcgWwwH12IhDwENgxC3iqFjlSm0o/q7CmSW3j3AjB0Yvmen5ZNnShAN HxfYup92AMFSe6zyp7DIg1T+MpNNUDLYbXewpf6qPe3aHk611EfptTk9q498wwuFkRDDxS wEkQ1NQplrnDd8L5QLgSP/D2fp1DJmgJs640A+rZ5kL7+bMVkCNuvu1c345pkyjS+8BvgY HkTmern2zDw+MDJEK08Q0gTL5a3GYb50NZ9hyis6rsgtyYTXcMZIWroTv6Pj6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047071; 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=4yoHhdZs6bA1aTTKj1nsT+sJKa7/cxKb8AnSJMhsgVw=; b=nYZm2g/KiVm9PwYnW2otmsRbfjnEY3RONO4/DJHM4vioGYf7Ivhq3G1ncsx7XfFkbvZOuG b4kfTAQgOH4TyATSSratyWBDP0UfZCawQPpkJy8SUrUrSF/PZxNpSwT4/fElZH3JGP+Mys pBbNikfVQqxtdHUnCY1kFULqCAI0PeBioomeBKgDvx1fiN5hSFl+m+yaRwY1YfRCsrXnRE KRxTMmFOoEbiwVKyqY4unGApvyYaBoleUSPv3y5OB4BwfL3CrzEMk7yc0iIOuliXZzuF+j b2OGy5kQ3mK3F6sL7f1zTjT4pQR3pMsYD+8eKZ36aaHBkHqGA+LHydHvjV5IZg== 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 4WN1v26wbTzscZ; Mon, 15 Jul 2024 12:37:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46FCboVb058268; Mon, 15 Jul 2024 12:37:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FCboID058265; Mon, 15 Jul 2024 12:37:50 GMT (envelope-from git) Date: Mon, 15 Jul 2024 12:37:50 GMT Message-Id: <202407151237.46FCboID058265@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andrew Turner Subject: git: c9dc783efbab - stable/14 - aarch64: fix branch target indications in arm64cpuid.pl and keccak1600 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: c9dc783efbab0fc6dd29cd58343c92699661cf98 Auto-Submitted: auto-generated The branch stable/14 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=c9dc783efbab0fc6dd29cd58343c92699661cf98 commit c9dc783efbab0fc6dd29cd58343c92699661cf98 Author: Tom Cosgrove AuthorDate: 2022-02-07 14:44:56 +0000 Commit: Andrew Turner CommitDate: 2024-07-15 08:09:43 +0000 aarch64: fix branch target indications in arm64cpuid.pl and keccak1600 Add missing AARCH64_VALID_CALL_TARGET to armv8_rng_probe(). Also add these to the functions defined by gen_random(), and note that this Perl sub prints the assembler out directly, not going via the $code xlate mechanism (and therefore coming before the include of arm_arch.h). So fix this too. In KeccakF1600_int, AARCH64_SIGN_LINK_REGISTER functions as AARCH64_VALID_CALL_TARGET on BTI-only builds, so it needs to come before the 'adr' line. Change-Id: If241efe71591c88253a3e36647ced00300c3c1a3 Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/17653) Obtained from: OpenSSL 3a23f01268ec (cherry picked from commit 41777819236110907dd4cff98ef70dfd0629f744) --- crypto/openssl/crypto/sha/asm/keccak1600-armv8.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/openssl/crypto/sha/asm/keccak1600-armv8.pl b/crypto/openssl/crypto/sha/asm/keccak1600-armv8.pl index cf54b62c636a..40f7aa7a695a 100755 --- a/crypto/openssl/crypto/sha/asm/keccak1600-armv8.pl +++ b/crypto/openssl/crypto/sha/asm/keccak1600-armv8.pl @@ -126,8 +126,8 @@ $code.=<<___; .type KeccakF1600_int,%function .align 5 KeccakF1600_int: - adr $C[2],iotas AARCH64_SIGN_LINK_REGISTER + adr $C[2],iotas stp $C[2],x30,[sp,#16] // 32 bytes on top are mine b .Loop .align 4