From patchwork Fri Jan 14 08:19:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 12713462 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 3591DC4332F for ; Fri, 14 Jan 2022 08:22:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239878AbiANIW3 (ORCPT ); Fri, 14 Jan 2022 03:22:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239883AbiANIVS (ORCPT ); Fri, 14 Jan 2022 03:21:18 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 273CAC0617A6; Fri, 14 Jan 2022 00:21:12 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB04861E2E; Fri, 14 Jan 2022 08:21:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E35DFC36AEC; Fri, 14 Jan 2022 08:21:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642148471; bh=epCDida4a4Ou2Fod/Q+FP4fZKEQDmGyRp8ACSKP+uw8=; h=From:To:Cc:Subject:Date:From; b=dG6o01Y9ONAiRtJ+NuDHQNWJnacHL1Ah31z9hF5XnPLnSRuEkFt4A5/0krr8G5aZ1 1poED0aWds57+CvgVZX9IZ8frUZnHK+ne9vRG8MJJ7JTskcxeix8IZrCJ8YHlriON4 I2SIjWsU5e89sOUJgLX+nK6dnH8txev7Z7pL994E/zD/TjA2G4Nldno1SwwiSQY5k4 Y7Ur+8cC9vd0kNujBysvBBW+gN5Wg8j0D6jS302UXxDpHFZCWdZTqev8P1no1noqA+ BCbJ9YYSZ0/vEsXw+M9krHgS6fW2GD6y1EtrFR1FkGgNlblQIRi9dpIGMVS9RvKq8Z omI83auNrwlOQ== From: Eric Biggers To: linux-crypto@vger.kernel.org, Herbert Xu Cc: keyrings@vger.kernel.org, Vitaly Chikunov , Denis Kenzior Subject: [PATCH 0/3] crypto: more rsa-pkcs1pad fixes Date: Fri, 14 Jan 2022 00:19:36 -0800 Message-Id: <20220114081939.218416-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This series fixes two more bugs in rsa-pkcs1pad. Eric Biggers (3): crypto: rsa-pkcs1pad - correctly get hash from source scatterlist crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete() crypto: rsa-pkcs1pad - use clearer variable names crypto/rsa-pkcs1pad.c | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-)