References: <20211019183127.614175-1-arne@...1227...> <20211019183127.614175-4-arne@...1227...> From: Arne Schwabe Message-ID: Date: Thu, 21 Oct 2021 11:41:25 +0200 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB Subject: Re: [Openvpn-devel] [PATCH v3 03/21] [OSSL 3.0] Implement DES ECB encrypt via EVP_CIPHER api List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Max Fillinger , "openvpn-devel@lists.sourceforge.net" Am 20.10.21 um 19:36 schrieb Max Fillinger: > On 19/10/2021 20:31, Arne Schwabe wrote: >> +    if (!EVP_EncryptInit_ex(ctx, EVP_bf_ecb(), NULL, key, 0)) > > EVP_bf_ecb() is the Blowfish cipher, not DES. > Oops. I probably need to write a unit test for this one too. Because that sounds like I broke this. Arne