From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web12.9713.1636448299352842960 for ; Tue, 09 Nov 2021 00:58:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QIUt5oK/; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636448298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eTu0z+/YUobk6if8ewW7i7wtSB1/CRVqVvacKEg6cAk=; b=QIUt5oK/iryQx7EN2q6o5fwv9AQYM6z3T5MJIbBdGuB6cnzggFuQONvj9bZx4trIJn3Y/o V9XlHn1/tyaphflm4fb/2gYOVbhLreDklOZFqkTxL8DCbPqZ6bmu7TDfqgjexQHZIs+3I7 J2kxflLoL0xxd8LP0p2wVQoRgZS+4SM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-161-f-xL5IYwP3mnHx34Fm08dw-1; Tue, 09 Nov 2021 03:58:13 -0500 X-MC-Unique: f-xL5IYwP3mnHx34Fm08dw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 46CA7875049; Tue, 9 Nov 2021 08:58:12 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.194.99]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EE0DF1017E35; Tue, 9 Nov 2021 08:58:11 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 5E82E180A429; Tue, 9 Nov 2021 09:58:09 +0100 (CET) Date: Tue, 9 Nov 2021 09:58:09 +0100 From: "Gerd Hoffmann" To: devel@edk2.groups.io, jiewen.yao@intel.com Cc: "vineelko@microsoft.com" , Vineel Kovvuri Subject: Re: [edk2-devel] [PATCH 1/2] Reconfigure OpensslLib to add elliptic curve chipher algorithms Message-ID: <20211109085809.22kqmzd6zxu465ua@sirius.home.kraxel.org> References: <23891.1636410576311055186@groups.io> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit > 2. Remove unnecessary algo in openssl config > * Do you really want to enable all those algorithms? Such as SM2? Maybe revisit them again to see if they are really needed. I could see it might break other platform potentially. Enabling only those algorithms which are actually used by tianocore certainly makes sense ... > 3. Provide 2 profiles – with ECC and without ECC. ... and if it gets down the size enough would be better than yet another compile time option. take care, Gerd