From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9E0AECAAA1 for ; Tue, 30 Aug 2022 12:57:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229766AbiH3M5N (ORCPT ); Tue, 30 Aug 2022 08:57:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230179AbiH3M4p (ORCPT ); Tue, 30 Aug 2022 08:56:45 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 827F3153D3F for ; Tue, 30 Aug 2022 05:56:21 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0B81B1FA7C; Tue, 30 Aug 2022 12:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1661864126; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JF4B393OiwtOXn9Tf5y0chw81uWmzJktgfqH3NXg3hY=; b=BWX0kzrJJSbamBZxh/mOhFGqpS+uSSIw97XX0lM3tPcN0BetG9gdU/WDkyTRH9SQCMmsNX psTFE2fS0Kyt3joyV8LYUtLeoNBMsFU51wmLbf25jVc81UufHTgWTTiSuX8S+ZEiFlZ3To IDIE4gfjI2afVQAgbYdTy3V9OWQ3RHI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1661864126; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JF4B393OiwtOXn9Tf5y0chw81uWmzJktgfqH3NXg3hY=; b=w5/itynbo1WyHXWlqnYtGY3VQtjOwWX7zD7Ci9uXgjWLmleBMcnOYvmoAUzxORE67GJWIs SreJNqBAgBtLAxAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id CE0A813B0C; Tue, 30 Aug 2022 12:55:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id J4qzML0IDmPocgAAMHmgww (envelope-from ); Tue, 30 Aug 2022 12:55:25 +0000 Date: Tue, 30 Aug 2022 14:55:24 +0200 From: Petr Vorel To: Mimi Zohar Cc: linux-integrity@vger.kernel.org, Vitaly Chikunov , Stefan Berger Subject: Re: [RFC PATCH ima-evm-utils 05/11] Replace the low level SHA1 calls when calculating the TPM 1.2 PCRs Message-ID: Reply-To: Petr Vorel References: <20220830005936.189922-1-zohar@linux.ibm.com> <20220830005936.189922-6-zohar@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220830005936.189922-6-zohar@linux.ibm.com> Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org Hi Mimi, > OpenSSL v3 emits deprecated warnings for SHA1 functions. Use the > EVP_ functions when walking the TPM 1.2 binary bios measurements > to calculate the TPM 1.2 PCRs. LGTM. Reviewed-by: Petr Vorel Kind regards, Petr