OpenCloudOS-Kernel/arch/x86/crypto/sha1-mb
Tim Chen eb9bc8e7af crypto: sha-mb - Cleanup code to use || instead of |
for condition comparison and cleanup multiline comment style

In sha*_ctx_mgr_submit, we currently use the | operator instead of ||
((ctx->partial_block_buffer_length) | (len < SHA1_BLOCK_SIZE))

Switching it to || and remove extraneous paranthesis to
adhere to coding style.

Also cleanup inconsistent multiline comment style.

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-07-12 13:02:00 +08:00
..
Makefile crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00
sha1_mb.c crypto: sha-mb - Cleanup code to use || instead of | 2016-07-12 13:02:00 +08:00
sha1_mb_ctx.h crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00
sha1_mb_mgr.h crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00
sha1_mb_mgr_datastruct.S crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00
sha1_mb_mgr_flush_avx2.S crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00
sha1_mb_mgr_init_avx2.c crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00
sha1_mb_mgr_submit_avx2.S crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00
sha1_x8_avx2.S crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00