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 0E0DCC433F5 for ; Sat, 28 May 2022 17:19:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238857AbiE1RTm (ORCPT ); Sat, 28 May 2022 13:19:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238811AbiE1RTl (ORCPT ); Sat, 28 May 2022 13:19:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00D65396; Sat, 28 May 2022 10:19:40 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 9DFBCB8013C; Sat, 28 May 2022 17:19:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23E70C34100; Sat, 28 May 2022 17:19:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653758378; bh=G7tf9YJZazhJ3zj5XmFBFb8oMtPMYs1ILDRcunfXUOw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MP6gqjJmOFpiYtR3HghPFwUhJrMNT0RmD8A+6eDYU8B1VGfcdBY1O3KDKETkvziu7 3eiXllmFK7KgLQr+WfEVA8nkjLGleKFyF5bAguuFNDo2hGVtYjN5izZ2MWBXPGU9MD qCe9ccojxK/hG5lnmw++VzHHYa7gX1b0ZUJszymADCHhxKPu013WxCf1wuPOuzc0q9 H60xgPVGjlERTEUil+BvTb4FnuqqKFW0tlh5twnHiSvCKzlvzK5YP4japU4P4iHEZc 4rT/mo37jaerJwjwGhHRbKcBWCtI1llWueCSBpiw980ZnYjv9gEATsq9lU5PAySFXv s6Kst1tf92l8w== Date: Sat, 28 May 2022 10:19:36 -0700 From: Eric Biggers To: "Jason A. Donenfeld" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, herbert@gondor.apana.org.au, gaochao , Ard Biesheuvel , stable@vger.kernel.org Subject: Re: [PATCH crypto v2] crypto: blake2s - remove shash module Message-ID: References: <20220527081106.63227-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sat, May 28, 2022 at 11:57:01AM +0200, Jason A. Donenfeld wrote: > > Also, the wrong value is being passed for the 'inc' argument. > > Are you sure? Not sure I'm seeing what you are on first glance. Yes, 'inc' is the increment amount per block. It needs to always be BLAKE2S_BLOCK_SIZE unless a partial block is being processed. - Eric