Commit 4c79f6f8 authored by Megha Dey's avatar Megha Dey Committed by Herbert Xu

crypto: sha1-mb - rename sha-mb to sha1-mb

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: default avatarMegha Dey <megha.dey@linux.intel.com>
Reviewed-by: default avatarFenghua Yu <fenghua.yu@intel.com>
Reviewed-by: default avatarTim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 087bcd22
...@@ -49,7 +49,7 @@ endif ...@@ -49,7 +49,7 @@ endif
ifeq ($(avx2_supported),yes) ifeq ($(avx2_supported),yes)
obj-$(CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64) += camellia-aesni-avx2.o obj-$(CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64) += camellia-aesni-avx2.o
obj-$(CONFIG_CRYPTO_SERPENT_AVX2_X86_64) += serpent-avx2.o obj-$(CONFIG_CRYPTO_SERPENT_AVX2_X86_64) += serpent-avx2.o
obj-$(CONFIG_CRYPTO_SHA1_MB) += sha-mb/ obj-$(CONFIG_CRYPTO_SHA1_MB) += sha1-mb/
obj-$(CONFIG_CRYPTO_SHA256_MB) += sha256-mb/ obj-$(CONFIG_CRYPTO_SHA256_MB) += sha256-mb/
endif endif
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <linux/hardirq.h> #include <linux/hardirq.h>
#include <asm/fpu/api.h> #include <asm/fpu/api.h>
#include "sha_mb_ctx.h" #include "sha1_mb_ctx.h"
#define FLUSH_INTERVAL 1000 /* in usec */ #define FLUSH_INTERVAL 1000 /* in usec */
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
#ifndef _SHA_MB_CTX_INTERNAL_H #ifndef _SHA_MB_CTX_INTERNAL_H
#define _SHA_MB_CTX_INTERNAL_H #define _SHA_MB_CTX_INTERNAL_H
#include "sha_mb_mgr.h" #include "sha1_mb_mgr.h"
#define HASH_UPDATE 0x00 #define HASH_UPDATE 0x00
#define HASH_FIRST 0x01 #define HASH_FIRST 0x01
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "sha_mb_mgr.h" #include "sha1_mb_mgr.h"
void sha1_mb_mgr_init_avx2(struct sha1_mb_mgr *state) void sha1_mb_mgr_init_avx2(struct sha1_mb_mgr *state)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment