Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3441C432BE for ; Thu, 2 Sep 2021 13:28:41 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2115F60F42 for ; Thu, 2 Sep 2021 13:28:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2115F60F42 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9E85A832F0; Thu, 2 Sep 2021 15:28:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="ZTOTctDU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0E523832DD; Thu, 2 Sep 2021 15:28:37 +0200 (CEST) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8FF3082DD7 for ; Thu, 2 Sep 2021 15:28:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72b.google.com with SMTP id t4so1980315qkb.9 for ; Thu, 02 Sep 2021 06:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=C8istPjBhibtq30FiNSipX0dPNbKlOIktEhgGXY85HE=; b=ZTOTctDU6xUAjTuk1lb4l0L/lPVNb/3QIBSArDCyNHv5RfoOmF5cr1o5SGeBI5oMTn mXw25+ZC8/QA6zw4mKrBN2g+lGDM/X3Bshe1deKOW6xKmUsqBUdDVe0/6Akv+BWhAcOd S/DhLdCemsYdWSRNjI+fIMXoiuK+R5NLWAjys= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=C8istPjBhibtq30FiNSipX0dPNbKlOIktEhgGXY85HE=; b=fxcYcoeejad355clrQ3ZzNKhAksO3fpJ8COXmnAsn8JGqwjLiiANc63NPTLLKNO1JI CPHKR+o8D/N1PlpXKzOnXXcL8RdDtKeleT6/nUfZK/iJNEDXF8E8Aej9pq5Monpuu1Bd C2DrD6F9kxcXXJJqDHfsIsezzwdr58zPLfTE9byu9Utzgd37fSNeydZmsZpAcnJvcU8x Q3A/h+OXumKdhoS7sbleh9+rK/pyfX5NiUT8GoNf88NIiaI+lCi1YgE6f/ovkKRxr13J E1R8erWayU6JqcaWpHf6xCbHQggLPg5Jk6GjqOT/y17Lgu7WbN1PfeuWT83/NdxIfdlM OKBA== X-Gm-Message-State: AOAM532fdh6q6vbEoDWYCB4Yqjg5bLyu9CmPbDWsNdw7Sg2HQIkgya0W cZr06FP1aDcZiAMFaeNAAPYWDA== X-Google-Smtp-Source: ABdhPJz98TKdwWfNzpz0kccc8bUo0sB7c3QR0tfGxDYB0PDTm5Rd9k6IzRXuQyhDpxkSMBhDF02e5g== X-Received: by 2002:a37:2788:: with SMTP id n130mr3166663qkn.143.1630589311355; Thu, 02 Sep 2021 06:28:31 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-95b1-4c42-35f4-d991.res6.spectrum.com. [2603:6081:7b01:cbda:95b1:4c42:35f4:d991]) by smtp.gmail.com with ESMTPSA id r4sm953558qtw.5.2021.09.02.06.28.30 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Sep 2021 06:28:30 -0700 (PDT) Date: Thu, 2 Sep 2021 09:28:28 -0400 From: Tom Rini To: Alexandru Gagniuc Cc: u-boot@lists.denx.de, panfilov.artyom@gmail.com Subject: Re: [PATCH] lib/rsa: Remove support for OpenSSL < 1.1.0 and libressl < 2.7.0 Message-ID: <20210902132828.GW858@bill-the-cat> References: <20210729183121.3798261-1-mr.nuke.me@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SkvMZWwND5Jq/Zsy" Content-Disposition: inline In-Reply-To: <20210729183121.3798261-1-mr.nuke.me@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --SkvMZWwND5Jq/Zsy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 29, 2021 at 01:31:21PM -0500, Alexandru Gagniuc wrote: > Older OpenSSL and libressl versions have a slightly different API. > This require #ifdefs to support. However, we still can't support it > because the ECDSA path does not compile with these older versions. > These #ifdefs are truly a vestigial appendage. >=20 > Alternatively, the ECDSA path could be updated for older libraries, > but this requires significant extra code, and #ifdefs. Those libraries > are over three years old, and there concerns whether it makes sense to > build modern software for real world use against such old libraries. >=20 > Thusly, remove #ifdefs and code for old OpenSSL and LibreSSL support. >=20 > Signed-off-by: Alexandru Gagniuc Applied to u-boot/next, thanks! --=20 Tom --SkvMZWwND5Jq/Zsy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEw0XYACgkQFHw5/5Y0 tyy4SQwAhA3H72kQ5nE803nPNCN0xdqf56P4r0+5mFWEuXjPMxCAGrq1PdRZtqSW /qpFP2tSg0fmnBgLh1GzJIRj5pxzhqt7xzw6mT1mp+KUCvz6KgMabcProyMyQv/2 +HSOGYTe6ueV/sBK1GLq5KRjtHr0dYDaSPO2Y8VUx575pVBcD8zmuMMhWRm8vdEm TR18Pa8jUHrZJdvmCKWKbLR7nn2ZbdreXxMtjuIpY3sYdE0SgMs/z8VrR51KbjFw wapPYLX2YTVPPVWPKEZPZtP8HtoplEMhey11iFi+XXsRx9dbXExZYLUkVhx0wLoV e87UE01NylSK3ciAG/x3GAQFZRl0DvlcupmNJnw7L7OjKpftPk3H3/7+vPdZIzeR LMBwKBeKYacesDR5tdy6A0NFOycwNKnzDapY0FPzyuxQLnhcGOT+Z1yI61AKnjGD Lo8FFydk0jvetr9CqZRwF7uSd0LlFQS9/2tISOT1RgdFTdSGhQrxZDUMSnNef5yn 26hSjV+I =tDQ6 -----END PGP SIGNATURE----- --SkvMZWwND5Jq/Zsy--