Message-ID: Date: Thu, 17 Feb 2022 16:41:16 +0100 MIME-Version: 1.0 Content-Language: en-GB References: <20220217142306.8108-1-a@...2181...> <20220217143241.18766-1-a@...2181...> From: Arne Schwabe In-Reply-To: <20220217143241.18766-1-a@...2181...> Subject: Re: [Openvpn-devel] [PATCH v2] crypto: unify key_type creation code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Antonio Quartulli , openvpn-devel@lists.sourceforge.net Am 17.02.22 um 15:32 schrieb Antonio Quartulli: > At the moment we have tls_crypt_kt() and auth_token_kt that basically do > the same thing, but with different algorithms used to inizialise the > structure. Should be initialise or initialize depending on your dialect. > > In order to avoid code duplication and copy/paste errors, unify code and > make it parametric, so that it can be re-used in various places. > > Signed-off-by: Antonio Quartulli > Acked-By: Arne Schwabe