From nobody Fri Sep 22 19:07:59 2023 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 4RshcH5cYKz4vH45; Fri, 22 Sep 2023 19:07:59 +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 4RshcH412mz3Bvd; Fri, 22 Sep 2023 19:07:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695409679; 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=IweWknBRgWyS8Jynr+znaM1P3khobibLwr6bN//XAHg=; b=L1rE/G1+NDOZJQvz6u8j63NrBylskz5LRcympsvZcIkTVG2F+T8FJrKsjDOkGETYpgfqKi aZXomB4IYlqXCu8qXf4TdDMS/Ps0VNMig2ETf2Gz0mA9rrEkaBtYBbkFSWx2I3xSOmVU4O OqchfFL4dtPuH9ZftvqUobfH3SapqZCouj/I82BV75fcl78Mqhj608gwsWHkZ0icNeglyz sBIE9vvlskAzZmpa+zGDLgKd4XSDhgY0CO88RySz60GcfcjMU8ZWxDtQSB8mC3wfGaag3G ZE0txq0jTsXFBywT8ldYh3q8fh4tMwzEOdQjOjGj/VKd54a1oaIgiWu1UYuH/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695409679; a=rsa-sha256; cv=none; b=C0bVaLjruSQUmBxOpm4if7RlNbmLwOCxWYtHbwaDlO+ROW0+dqn6beyAB6qZ6Pu5kl/TNV 57OsbTTqP55kMOuA/QGPTu+n6WP2OcyYK+qwrRChXCt8QwYM0o9ppZtkPprkC/3399XLUZ OF/XjbNQummOTQU/b3J3vh8MqokC6jnnudHQF/OckK82jQJ2NNcjZlut1T15/ZEweOcPB6 AY9MlSfSLyEUNnLM/zw+Epulrl13ZPSZVfgBwcdkAwX5ifbFXQLolaYDNgx5JdN3VV8j3T vEehdcfZUG67QPK4E1Z0GwTjW9T/Ht18EL7aA62lWczexlztstibcVkjUFTV6Q== 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=1695409679; 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=IweWknBRgWyS8Jynr+znaM1P3khobibLwr6bN//XAHg=; b=OPYByMeTrLERXasM6HfG6s4+HE+CiZvj6aTI/aouJzeIyxrUvzFlA6NLigRlUGVHKkdaT+ JD4EymjdSCEizd8OufoOOGg+ujAvwpAsYag963hQ8aqM6pci+7Kp8mskVLDI9YtoIwwL89 QdQIoICf5zHSp2Foylq/mptjaRBsk1Em42DvnGZzZGTHxyI3uwEV8Ll3RnguVHD+E+1YdF gzieTvNAYWUAa9okUseNFNVzkyp3dvYmOL0PDSv/DPTHovKPktVZ7cHYjiHYKTCsaD0MNO jAtJW+Jcp744VsvRS8q/cwIk76HSYEs/tWIIgb/TnBU5BCY0A2NBytPXrZh6mA== 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 4RshcH2lRBzZCQ; Fri, 22 Sep 2023 19:07:59 +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 38MJ7xJx065928; Fri, 22 Sep 2023 19:07:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38MJ7xis065925; Fri, 22 Sep 2023 19:07:59 GMT (envelope-from git) Date: Fri, 22 Sep 2023 19:07:59 GMT Message-Id: <202309221907.38MJ7xis065925@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: abd9da936335 - stable/14 - libcrypto: fix the FIPS provider on amd64 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: abd9da936335eca88d670ad35a94ed67d911bdb1 Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=abd9da936335eca88d670ad35a94ed67d911bdb1 commit abd9da936335eca88d670ad35a94ed67d911bdb1 Author: Pierre Pronchery AuthorDate: 2023-09-04 17:57:35 +0000 Commit: Ed Maste CommitDate: 2023-09-22 19:06:35 +0000 libcrypto: fix the FIPS provider on amd64 This corrects the list of source files required for the FIPS provider. To test: ``` INSTALL PASSED enter AES-128-CBC encryption password: Verifying - enter AES-128-CBC encryption password: U2FsdGVkX1+MGm7LbZou29UWU+KAyBX/PxF5T1pO9VM= ``` Reviewed by: emaste Fixes: b077aed33b7b ("Merge OpenSSL 3.0.9") Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/837 Differential Revision: https://reviews.freebsd.org/D41720 (cherry picked from commit 8f37b3a142f2f7197896cd283c44c7e4fb64aaf3) --- secure/lib/libcrypto/modules/fips/Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/secure/lib/libcrypto/modules/fips/Makefile b/secure/lib/libcrypto/modules/fips/Makefile index b674126bb6cf..8843cb9717c9 100644 --- a/secure/lib/libcrypto/modules/fips/Makefile +++ b/secure/lib/libcrypto/modules/fips/Makefile @@ -32,25 +32,25 @@ SRCS+= mem_clr.c .endif # crypto/aes -SRCS+= aes_cbc.c aes_cfb.c aes_ecb.c aes_ige.c aes_misc.c aes_ofb.c aes_wrap.c +SRCS+= aes_cfb.c aes_ecb.c aes_ige.c aes_misc.c aes_ofb.c aes_wrap.c .if defined(ASM_aarch64) -SRCS+= aes_core.c aesv8-armx.S vpaes-armv8.S +SRCS+= aes_cbc.c aes_core.c aesv8-armx.S vpaes-armv8.S ACFLAGS.aesv8-armx.S= -march=armv8-a+crypto .elif defined(ASM_amd64) -SRCS+= aes_core.c aesni-mb-x86_64.S aesni-sha1-x86_64.S aesni-sha256-x86_64.S -SRCS+= aesni-x86_64.S vpaes-x86_64.S +SRCS+= aes-x86_64.S aesni-mb-x86_64.S aesni-sha1-x86_64.S +SRCS+= aesni-sha256-x86_64.S aesni-x86_64.S bsaes-x86_64.S vpaes-x86_64.S .elif defined(ASM_arm) -SRCS+= aes-armv4.S aesv8-armx.S bsaes-armv7.S +SRCS+= aes_cbc.c aes-armv4.S aesv8-armx.S bsaes-armv7.S .elif defined(ASM_i386) -SRCS+= aes_core.c aesni-x86.S vpaes-x86.S +SRCS+= aes-586.S aesni-x86.S vpaes-x86.S .elif defined(ASM_powerpc) -SRCS+= aes_core.c aes-ppc.S vpaes-ppc.S aesp8-ppc.S +SRCS+= aes_cbc.c aes_core.c aes-ppc.S vpaes-ppc.S aesp8-ppc.S .elif defined(ASM_powerpc64) -SRCS+= aes_core.c aes-ppc.S vpaes-ppc.S aesp8-ppc.S +SRCS+= aes_cbc.c aes_core.c aes-ppc.S vpaes-ppc.S aesp8-ppc.S .elif defined(ASM_powerpc64le) -SRCS+= aes_core.c aes-ppc.S vpaes-ppc.S aesp8-ppc.S +SRCS+= aes_cbc.c aes_core.c aes-ppc.S vpaes-ppc.S aesp8-ppc.S .else -SRCS+= aes_core.c +SRCS+= aes_cbc.c aes_core.c .endif # crypto/bn