From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web11.328.1581640822568905041 for ; Thu, 13 Feb 2020 16:40:22 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: christopher.j.zurcher@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Feb 2020 16:40:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,438,1574150400"; d="scan'208";a="267366353" Received: from cjzurch-desk.amr.corp.intel.com ([10.9.70.181]) by fmsmga002.fm.intel.com with ESMTP; 13 Feb 2020 16:40:22 -0800 From: "Zurcher, Christopher J" To: devel@edk2.groups.io Cc: Jian J Wang , Xiaoyu Lu Subject: [PATCH v3 0/2] CryptoPkg/OpensslLib: Remove "no-autoalginit" flag from OpenSSL build Date: Thu, 13 Feb 2020 16:40:19 -0800 Message-Id: <20200214004021.17300-1-christopher.j.zurcher@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 In order to implement the EVP interface, the EVP_get_digestbyname function requires the desired digest to be already initialized. Removing the "no-autoalginit" build option will allow algorithms to be retrieved by name. I plan to submit a future patch with an EVP implementation; the OpenSSL documentation has stated that the EVP interface "should almost always be used" over direct digest interfaces at least as far back as version 0.9.6c. This patch set also adds the "sort" keyword to the header file parsing loop so the .inf files aren't randomized after every run of process_files.pl. Cc: Jian J Wang Cc: Xiaoyu Lu Christopher J Zurcher (2): CryptoPkg/OpensslLib: Add "sort" keyword to header file parsing loop CryptoPkg/OpensslLib: Remove "no-autoalginit" flag from OpenSSL build CryptoPkg/Library/OpensslLib/OpensslLib.inf | 66 ++++++++++---------- CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 62 +++++++++--------- CryptoPkg/Library/Include/openssl/opensslconf.h | 3 - CryptoPkg/Library/OpensslLib/process_files.pl | 5 +- 4 files changed, 66 insertions(+), 70 deletions(-) -- 2.16.2.windows.1