Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1knCU1-0002lp-Mu for pgsql-committers@arkaria.postgresql.org; Thu, 10 Dec 2020 03:19:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1knCU0-00005X-I5 for pgsql-committers@arkaria.postgresql.org; Thu, 10 Dec 2020 03:19:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1knCU0-00005P-Cl for pgsql-committers@lists.postgresql.org; Thu, 10 Dec 2020 03:19:08 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1knCTu-0007CZ-As for pgsql-committers@lists.postgresql.org; Thu, 10 Dec 2020 03:19:08 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 192C25C00EA for ; Wed, 9 Dec 2020 22:19:01 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 09 Dec 2020 22:19:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=kBIpWsDzgRvsy9GoE/xE/9DewVs 4F4TRAxDZSj8H9OY=; b=UPGymNYAISM9HNl+FExclmLd5T6NtDEqVop96qWekOD E5bBPp4mPE2NT8IxJX64DkLq0/phOF8OTbwBD4kCnFOC3zbgYtPZW75Ec7BL370S CVk8Z3/M04iY47aAc2fyIqAXo4J2TT0W52wrbUWzJGAe3CoUBfJqfStHvk0FAjoI +4L9/CmeZ6lC/NlgPhBLGj0X7hBYk88hL5Ud0FX/AG4p2TPsbESHvdHjon5t+Tzq xLGW1W2iAXtki7XGEaowlkiZoPp05hKPgOq2zfY1tilKR90ogKbOU7h+bv7Dlkwp Oru+qxuApJlqrVOut2KEzmy9c3JTLaVFVWKuh99rIhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=kBIpWs DzgRvsy9GoE/xE/9DewVs4F4TRAxDZSj8H9OY=; b=IPJiWAlSzkXD93MLRZU+VJ 7e+fn5LVQVltVx5ROkaLPJJjN4zRabBy6eh+qxQlebITxokRRvZkQha5mI/Lg8kv ogV8KFywaJiFYW3NhXxcYtkq1gyypBzNRyvmV42LXDNlq1r1Un+J2fELmNqevt1/ 1pIS+N2/+d6kIzLoX1yquQqLLQ9+RuAxYONqOE8yvu+qQXaUZwTW2TSfkyniI+/s a0G6d1wSjW1DjQZHUKYX3GuJZkb2xvk+b5PWITglEnmzgIMXZeKsIpq/+kMbc4mV OArMTH0qstPu+QmZpKRMgh6X7PhDyMvxmrwf0tea17oXinOHkDl8TT2j/hCDfmYA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudejledgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpedvgeduuefhtdeuleettdevjeehheeiveeuieegleetgeeljeelieeuieehgeevhfen ucfkphepudduuddruddtvddrudektddrudekheenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 20A6E108005F for ; Wed, 9 Dec 2020 22:18:59 -0500 (EST) Date: Thu, 10 Dec 2020 12:18:57 +0900 From: Michael Paquier To: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tefWG6ifku9vFoH7" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --tefWG6ifku9vFoH7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 10, 2020 at 03:01:20AM +0000, Michael Paquier wrote: > Refactor MD5 implementations according to new cryptohash infrastructure >=20 > This commit heavily reorganizes the MD5 implementations that exist in > the tree in various aspects. >=20 > First, MD5 is added to the list of options available in cryptohash.c and > cryptohash_openssl.c. This means that if building with OpenSSL, EVP is > used for MD5 instead of the fallback implementation that Postgres had > for ages. With the recent refactoring work for cryptohash functions, > this change is straight-forward. If not building with OpenSSL, a > fallback implementation internal to src/common/ is used. And this has broken uuid-ossp. The switch is quite easy to do as this module just needs to use cryptohash APIs for MD5. Will fix in a minute.. -- Michael --tefWG6ifku9vFoH7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl/Rk6EACgkQnvQgOdby QH1eXA//cTW1ZSNRFcIJoAqLizpTrnwpzPbh/VingyEcFz0YE3hQ1/+lBW83EIaT k/7L68Hp0AgUaFvlf1TWH+cejlyNhNQ+gTdSyBvT5cw8fVuPo2pTaLjyPBN4BXtz Y1ym9U8bA0DjvpDeV1fKaLjpAW56TrgBvLyhs9mM9W3JTZVWIkZVW4pltObUjPEJ 58CfsGrcWA/wfjW/f51cJXGLidMxBWDHoFQ/8Wq8uOL//qJTa2miI0+1LxBsLnlt btcwlH7QEAZEAzN21DakxZwZamEOEeXnKrdMt3mlaqHiBuVpL9JjYY0/epBhXGHf +m/6vhzmjZo+spCyh6FcFTNAB1AgO8CDyhveWJ0B9KmzbvwXiDBmSiQkOaOftMe8 CS/SSZiCioVRSwGVZYJQpSLz7uA6FUX1YJfxrvrEZfsLbvAAIYkRv/XZ0xZB77DD fwLz6u4KHqedZQq+213nsa77LCOCUqcrwsoidCAa7WY+Lo8SOpZcUSUdzTn2hqr0 d8zGKK/DoEJpEr9CEV/fPlfJ5pauBLSqwlb2arSkUziyaBzb8Kwk/q+hILxI+48t 132Aug/MGioNFx8jhkav4PReAgJ0Ukl2edC+CGLLKbk6CV7u1Y1kbKbjNULhBQWH I20hsmrg1nL7D0d2x89ISzYW7L+uGOqE0Na1a1sfAycBevV5SoE= =+qUJ -----END PGP SIGNATURE----- --tefWG6ifku9vFoH7--