[ANNOUNCE] Linux Security Summit 2016 - CFP

2016-03-24 Thread James Morris
== ANNOUNCEMENT AND CALL FOR PARTICIPATION LINUX SECURITY SUMMIT 2016 25-26 AUGUST TORONTO, CANADA =

[PATCH 4/7] crypto: sha256-mb - submit/flush routines for AVX2

2016-03-24 Thread megha . dey
From: Megha Dey This patch introduces the routines used to submit and flush buffers belonging to SHA256 crypto jobs to the SHA256 multibuffer algorithm. It is implemented mostly in assembly optimized with AVX2 instructions. Signed-off-by: Megha Dey Reviewed-by: Fenghua Yu Reviewed-by: Tim Chen

[PATCH 1/7] crypto: sha1-mb - rename sha-mb to sha1-mb

2016-03-24 Thread megha . dey
From: Megha Dey Until now, there was only support for the SHA1 multibuffer algorithm. Hence, there was just one sha-mb folder. Now, with the introduction of the SHA256 multi-buffer algorithm , it is logical to name the existing folder as sha1-mb. Signed-off-by: Megha Dey Reviewed-by: Fenghua Yu

[PATCH 2/6] crypto: sha512-mb - Enable SHA512 multibuffer support

2016-03-24 Thread megha . dey
From: Megha Dey Add the config CRYPTO_SHA512_MB which will enable the computation using the SHA512 multi-buffer algorithm. Signed-off-by: Megha Dey Reviewed-by: Fenghua Yu Reviewed-by: Tim Chen --- crypto/Kconfig | 16 1 file changed, 16 insertions(+) diff --git a/crypto/Kc

[PATCH 3/6] crypto: sha512-mb - submit/flush routines for AVX2

2016-03-24 Thread megha . dey
From: Megha Dey This patch introduces the routines used to submit and flush buffers belonging to SHA512 crypto jobs to the SHA512 multibuffer algorithm. It is implemented mostly in assembly optimized with AVX2 instructions. Signed-off-by: Megha Dey Reviewed-by: Fenghua Yu Reviewed-by: Tim Chen

[PATCH 5/7] crypto: sha256-mb - Algorithm data structures

2016-03-24 Thread megha . dey
From: Megha Dey This patch introduces the data structures and prototypes of functions needed for computing SHA256 hash using multi-buffer. Included are the structures of the multi-buffer SHA256 job, job scheduler in C and x86 assembly. Signed-off-by: Megha Dey Reviewed-by: Fenghua Yu Reviewed-

[PATCH 2/7] crypto: sha256-mb - SHA256 multibuffer job manager and glue code

2016-03-24 Thread megha . dey
From: Megha Dey This patch introduces the multi-buffer job manager which is responsible for submitting scatter-gather buffers from several SHA256 jobs to the multi-buffer algorithm. It also contains the flush routine to that's called by the crypto daemon to complete the job when no new jobs arriv

[PATCH 4/6] crypto: sha512-mb - Algorithm data structures

2016-03-24 Thread megha . dey
From: Megha Dey This patch introduces the data structures and prototypes of functions needed for computing SHA512 hash using multi-buffer. Included are the structures of the multi-buffer SHA512 job, job scheduler in C and x86 assembly. Signed-off-by: Megha Dey Reviewed-by: Fenghua Yu Reviewed-

[PATCH 5/6] crypto: sha512-mb - Crypto computation (x4 AVX2)

2016-03-24 Thread megha . dey
From: Megha Dey This patch introduces the assembly routines to do SHA512 computation on buffers belonging to several jobs at once. The assembly routines are optimized with AVX2 instructions that have 4 data lanes and using AVX2 registers. Signed-off-by: Megha Dey Reviewed-by: Fenghua Yu Review

[PATCH 1/6] crypto: sha512-mb - SHA512 multibuffer job manager and glue code

2016-03-24 Thread megha . dey
From: Megha Dey This patch introduces the multi-buffer job manager which is responsible for submitting scatter-gather buffers from several SHA512 jobs to the multi-buffer algorithm. It also contains the flush routine that's called by the crypto daemon to complete the job when no new jobs arrive b

[PATCH 6/6] crypto: tcrypt - Add new mode for sha512_mb

2016-03-24 Thread megha . dey
From: Megha Dey Add a new mode to calculate the speed of the sha512_mb algorithm Signed-off-by: Megha Dey Reviewed-by: Fenghua Yu Reviewed-by: Tim Chen --- crypto/tcrypt.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index a2172e8..480bb75 10064

[PATCH 3/7] crypto: sha256-mb - Enable multibuffer support

2016-03-24 Thread megha . dey
From: Megha Dey Add the config CRYPTO_SHA256_MB which will enable the computation using the SHA256 multi-buffer algorithm. Signed-off-by: Megha Dey Reviewed-by: Fenghua Yu Reviewed-by: Tim Chen --- crypto/Kconfig | 16 1 file changed, 16 insertions(+) diff --git a/crypto/Kc

[PATCH 7/7] crypto: tcrypt - Add speed tests for SHA multibuffer algorithms

2016-03-24 Thread megha . dey
From: Megha Dey The existing test suite to calculate the speed of the SHA algorithms assumes serial (single buffer)) computation of data. With the SHA multibuffer algorithms, we work on 8 lanes of data in parallel. Hence, the need to introduce a new test suite to calculate the speed for these alg

[PATCH 0/6] crypto: SHA512 multibuffer implementation

2016-03-24 Thread megha . dey
From: Megha Dey In this patch series, we introduce the multi-buffer crypto algorithm on x86_64 and apply it to SHA512 hash computation. The multi-buffer technique takes advantage of the 8 data lanes in the AVX2 registers and allows computation to be performed on data from multiple jobs in paralle

[PATCH 6/7] crypto: sha256-mb - Crypto computation (x8 AVX2)

2016-03-24 Thread megha . dey
From: Megha Dey This patch introduces the assembly routines to do SHA256 computation on buffers belonging to several jobs at once. The assembly routines are optimized with AVX2 instructions that have 8 data lanes and using AVX2 registers. Signed-off-by: Megha Dey Reviewed-by: Fenghua Yu Revie

[PATCH 0/7] crypto: SHA256 multibuffer implementation

2016-03-24 Thread megha . dey
From: Megha Dey In this patch series, we introduce the multi-buffer crypto algorithm on x86_64 and apply it to SHA256 hash computation. The multi-buffer technique takes advantage of the 8 data lanes in the AVX2 registers and allows computation to be performed on data from multiple jobs in parall