From patchwork Thu Oct 15 22:35:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Salvaterra X-Patchwork-Id: 1382962 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=e1PGxCy9; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=TNBnFL6X; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CC41w0g4Rz9sTr for ; Fri, 16 Oct 2020 09:38:24 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=t+iUGZVvHuBfe3/BTjlXgKZGfc3983FS869W5Pn2Cx0=; b=e1PGxCy9QuVqel2VUucQb4sff6 Z6+sA74jqT//7tk/FAZcWbglfddm8bnt/aZC2tumvrViawgO8beDPAP+rTTe8rZie2C6Brbxb6OX6 Fg2KBYiAuKt2OQNJv0vQNGlfmUQp++6kAsKoTQOvucHDpccevbk2y5ibe4rbLtK3U2skPBaAIeEsm U1qU5owzgoHcypqmk2JaZdHClwNNajRWE8OTpVsL2ak2GSoN2Od9KG9N0nbAu1/vWqLL9ZpI1nzTW SH8yuaY2OIfvzPV98MbWydeOaka8bVR7lAd33iAJu7wSvqNjwys2SkNb9yDiQE5QViAyqTiVki8AL 3DKLiiTA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTBr6-0001Dl-Kt; Thu, 15 Oct 2020 22:36:16 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTBqz-0001Bc-Oy for openwrt-devel@lists.openwrt.org; Thu, 15 Oct 2020 22:36:11 +0000 Received: by mail-ed1-x531.google.com with SMTP id dn5so332038edb.10 for ; Thu, 15 Oct 2020 15:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z0ml0Nd9kkU0EfDwXvPhc4xPTlJ6hNiI2xgM+Lh1wOs=; b=TNBnFL6XCH645uudxRDOGQ6Szn7XvNwef4XuRP9R9k838X7xHeOKbmu2kPeTJjmHjI DyVEOEjygUgpHf9lFGX6TkGmAJTdZon9ieZstEDhwF68LYtF5e/lc7rOR8UlTwHL8US7 FKOfwMXBKghgagDs/l+MHXF/CVq1x1Cd2rRArg0dypuoIeYwwEBybOel+vZ/1km0s4Um pqXtpj95kA/JmFwhPt3uwGeliTP5jh6K02cVRvT+4FTRiZ7ch9SJvVVz5GmO7DcNMXdM j2ZrxKttcRfnPaAk57W1gWLn09bApeOcBWot9WHpv4l4gXyys3xBWSaAip6E3tRbD0/m kbHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z0ml0Nd9kkU0EfDwXvPhc4xPTlJ6hNiI2xgM+Lh1wOs=; b=ZYIOc+OB2xevVW+KWXiORZAdmPxwb/IOFCVYjCr532OVG6IpDrvcahwPk1JZ/wfKQs UbkTepiOWKOPmDQ555M2RfJq5VeUxDEFPFqTwpM3rNshXIy4NveW+u9wXyyLAFcy7FQ7 /pMZtprgC1Faps8FVC0jhWEAx65cFPfK5vSkcSjtC12fkss266L1qrLv3Foqxswp2F3I egvsiF1IZ2nG5tlIDlCugoensE8FFtre44EyI3Y1a8K4Esz9tJnhnSBEwI/Gbl7Hso1i dpzAVz8x1Lyg4ccU5lrMKlkm1mbt5qtfHsoG+QiJ6VvKl0P+Yt8Leplu8T3Lb5yythQ6 EurQ== X-Gm-Message-State: AOAM530vGyTXsdYwYfhp99yHiOkvnYqj7UVqLCSleWo2ayTxhFyy4p0D 2clzW0TKN+uHvL3Lb4bNnF2m5FgtsA== X-Google-Smtp-Source: ABdhPJyIGzSJdJIOU0Y813+BGeD7TYAi84ciDoWncvmRxpu8niQGrBtAmb5rk6WVtHvyYrrirJBskQ== X-Received: by 2002:aa7:c7cd:: with SMTP id o13mr749290eds.114.1602801366672; Thu, 15 Oct 2020 15:36:06 -0700 (PDT) Received: from presler.lan (a95-93-121-164.cpe.netcabo.pt. [95.93.121.164]) by smtp.gmail.com with ESMTPSA id yd18sm331756ejb.10.2020.10.15.15.36.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 15:36:06 -0700 (PDT) From: Rui Salvaterra To: openwrt-devel@lists.openwrt.org Subject: [PATCH 0/3] openssl: add more fine-grained optimisation settings Date: Thu, 15 Oct 2020 23:35:56 +0100 Message-Id: <20201015223559.928435-1-rsalvaterra@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201015_183609_840926_849BF52E X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:531 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rsalvaterra[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rui Salvaterra Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This series allows for a more fine-grained control of the library optimisation settings, opening the opportunity for significant size reduction. More details in each specific patch. Rui Salvaterra (3): openssl: reorganise the config dependencies openssl: allow the user to choose the optimisation level openssl: build with MIPS16 if hand-optimised assembly isn't enabled package/libs/openssl/Config.in | 10 ++++++++-- package/libs/openssl/Makefile | 11 +++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-)