From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Chen Subject: Re: [PATCH v5 2/7] crypto: SHA1 multibuffer crypto hash infrastructure Date: Fri, 25 Jul 2014 09:47:24 -0700 Message-ID: <1406306844.2970.870.camel@schen9-DESK> References: <1406066972.2970.804.camel@schen9-DESK> <20140725072605.GU3935@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Herbert Xu , "H. Peter Anvin" , "David S.Miller" , Ingo Molnar , Chandramouli Narayanan , Vinodh Gopal , James Guilford , Wajdi Feghali , Jussi Kivilinna , Thomas Gleixner , Tadeusz Struk , tkhai@yandex.ru, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org To: Peter Zijlstra Return-path: In-Reply-To: <20140725072605.GU3935@laptop> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On Fri, 2014-07-25 at 09:26 +0200, Peter Zijlstra wrote: > On Tue, Jul 22, 2014 at 03:09:32PM -0700, Tim Chen wrote: > > This patch introduces the multi-buffer crypto daemon which is responsible > > for submitting crypto jobs in a work queue to the responsible multi-buffer > > crypto algorithm. The idea of the multi-buffer algorihtm is to put > > data streams from multiple jobs in a wide (AVX2) register and then > > take advantage of SIMD instructions to do crypto computation on several > > buffers simultaneously. > > > > The multi-buffer crypto daemon is also responsbile for flushing the > > remaining buffers to complete the computation if no new buffers arrive > > for a while. > > How is any of this SHA1 specific as the Subject says it is? Yes, I should simply say multibuffer crypto hash infrastructure in the subject line. Tim