From nobody Wed Feb 21 03:38:27 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 4Tfhnb3Z0yz5BJ0G; Wed, 21 Feb 2024 03:38:27 +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 4Tfhnb33zFz4VmY; Wed, 21 Feb 2024 03:38:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708486707; 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=so7yZtQFa70Y38fdP3DbKp9vDvahR8XrkBWVJfgo7fI=; b=O+lgewr+eMDf64Oyc7EHchzUQGDkjzremqhQoh8oDkzVY9eO+kMGsxdYrA5DwY8weUT6O+ ro1UpUDwxrO090q82PiYDyLaO9zncHYCkJuVGsSnhOFT5ywswcbt4/k0jHvvMNet3Az81R UH8N+AnJZFwxHCpv43pvtr31fdTdKxnRc3LM+0rumtbO8u1c/JNpbsgrbxAQQlUoIgT0rI LFXZe2oHGytdwIC5e5aAAfBFGWG4qMJ62M6ldHc9pBzNCFOOZq9PG3bH4HlzXVYgRX4P6C Pda2odY+FJVjQ9s8icRoX+iePs86QOGNLVDjxwLAyq0MQV4BEZVf6KCmJb2o2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708486707; 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=so7yZtQFa70Y38fdP3DbKp9vDvahR8XrkBWVJfgo7fI=; b=TDveV6l7c9utBqybwGM2cc8sCg6xMZN4Ur7Vpsw+StbnnOtvWlCH/ccbgHTeOLeAGAM6+W eocn2NYo3jQf23SilasMd6m3F5yshcYdLF5DmFDKeQju1LmZdDh4AkMnB5Xjye5t7GzZf6 tBKKata2n3Z7x7OaAEGZpkvVTnNo/Iw2q2GMafw32yfYBASU4JUbS1XVd8zId4pqlAVFLy RYQ6YlgT0FEF+6cEGKKFbwADxFK6mhENLdCdmIK2Vtj5QAheo5hBOYozQy6hctQMKn/26y aUGgu5bhUslkphDhmnMSwh9l2YSbNciO1PqcGDyZj+6dUTZusj6IBFnZ0RZ3sA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708486707; a=rsa-sha256; cv=none; b=LmEIubk1faiFkkIxlnMpKRabwemo3dqjucD10BSARMdwZ+ndKkHwkNbXMFBxpR2U+CQicv ezTB5SQxFVEX8CLcGRfST9gLWAQn2sjEuqC35qdupH16JOL/gx17vJLMCKlrpRHyHZzkp8 Z+kjIbARozkN+Jc+IoNorGLM60ZfGWQP/Bjr/gRzfA3ebZwmBu0lGlA4xdhwGDTql28s2r 7dfMXt7AV4xkm9E4v1TDSP28UzqzvfrwdUrjP+VyxiQbLEqDdhJ5sNkJBY6mKuZPTIxJHK 7UBwHO8d660Enui0EY19oWVbD6peNbuyKO+DRUhM/LMqNZUCFyE6F2ET9LOdvA== 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 4Tfhnb26yjzmrp; Wed, 21 Feb 2024 03:38:27 +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 41L3cRQj021093; Wed, 21 Feb 2024 03:38:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41L3cRAZ021090; Wed, 21 Feb 2024 03:38:27 GMT (envelope-from git) Date: Wed, 21 Feb 2024 03:38:27 GMT Message-Id: <202402210338.41L3cRAZ021090@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 1edb7116f450 - main - bearssl: Make shared library link 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1edb7116f450c1a1793f2fd25f6bdc16735ef888 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=1edb7116f450c1a1793f2fd25f6bdc16735ef888 commit 1edb7116f450c1a1793f2fd25f6bdc16735ef888 Author: Warner Losh AuthorDate: 2024-02-21 03:31:41 +0000 Commit: Warner Losh CommitDate: 2024-02-21 03:31:41 +0000 bearssl: Make shared library link Creating a lua shared library module linking against libbearssl.so won't load w/o these functions. Sponsored by: Netflix Reviewed by: sjg Differential Revision: https://reviews.freebsd.org/D43982 --- lib/libbearssl/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/libbearssl/Makefile b/lib/libbearssl/Makefile index d307dd138a94..1fa57f372596 100644 --- a/lib/libbearssl/Makefile +++ b/lib/libbearssl/Makefile @@ -45,6 +45,7 @@ SRCS+= \ hash/ghash_pwr8.c \ hash/md5.c \ hash/md5sha1.c \ + hash/mgf1.c # this one does not compile for amd64 @@ -149,6 +150,11 @@ SRCS+= \ x509/x509_knownkey.c \ x509/x509_minimal_full.c \ +SRCS+= \ + rand/hmac_drbg.c \ + mac/hmac.c \ + mac/hmac_ct.c \ + INCS= \ inc/bearssl.h \ inc/bearssl_aead.h \ @@ -169,9 +175,6 @@ INCS:= ${INCS:S,^,${BEARSSL}/,} .if ${MK_BEARSSL_SSL:Uno} == "yes" SRCS+= \ - mac/hmac.c \ - mac/hmac_ct.c \ - rand/hmac_drbg.c \ ssl/prf.c \ ssl/prf_md5sha1.c \ ssl/prf_sha256.c \