From: Tim Chen Date: Thu, 31 Jul 2014 17:29:51 +0000 (-0700) Subject: crypto: sha-mb - multibuffer crypto infrastructure X-Git-Tag: fixes-for-v3.18-merge-window~17^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e65b81a90df50bf450193065cc9073b706b8dda;p=pandora-kernel.git crypto: sha-mb - multibuffer crypto infrastructure 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. Signed-off-by: Tim Chen Signed-off-by: Herbert Xu --- Reading git-diff-tree failed