Quoting David Miller :
You should be disabling software interrupts, not hardware ones.
Ok, I'll roll out v2.
-Jussi
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.
From: Jussi Kivilinna
Date: Sat, 20 Oct 2012 14:52:41 +0300
> Test vectors for camellia, blowfish and serpent are expanded for future
> implementations.
>
> New test vectors for aes, des and des3_ede are added to test existing
> implementations.
>
> ---
>
> Jussi Kivilinna (6):
> crypto:
You should be disabling software interrupts, not hardware ones.
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Introduce new assembler functions to avoid use temporary stack buffers in glue
code. This also allows use of vector instructions for xoring output in CTR and
CBC modes and construction of IVs for CTR mode.
ECB mode sees ~0.5% decrease in speed because added one extra function
call. CBC mode decryp
Introduce new assembler functions to avoid use temporary stack buffers in glue
code. This also allows use of vector instructions for xoring output in CTR and
CBC modes and construction of IVs for CTR mode.
ECB mode sees ~0.5% decrease in speed because added one extra function
call. CBC mode decryp
Introduce new assembler functions to avoid use temporary stack buffers in glue
code. This also allows use of vector instructions for xoring output in CTR and
CBC modes and construction of IVs for CTR mode.
ECB mode sees ~0.2% decrease in speed because added one extra function
call. CBC mode decryp
Introduce new assembler functions to avoid use temporary stack buffers in
glue code. This also allows use of vector instructions for xoring output
in CTR and CBC modes and construction of IVs for CTR mode.
ECB mode sees ~0.5% decrease in speed because added one extra function
call. CBC mode decryp
'u128' currently used for CTR mode is on little-endian 'long long' swapped
and would require extra swap operations by SSE/AVX code. Use of le128
instead of u128 allows IV calculations to be done with vector registers
easier.
Signed-off-by: Jussi Kivilinna
---
arch/x86/crypto/camellia_glue.c
Patches modify AVX implementations so that they avoid using extra
stack memory. Stack is not needed since implementation store
blocks in registers.
---
Jussi Kivilinna (5):
crypto: x86/glue_helper - use le128 instead of u128 for CTR mode
crypto: cast6/avx - avoid using temporary stack
Most DES3_EDE testvectors are short and do not test parallelised codepaths
well. Add larger testvectors to test large crypto operations and to test
multi-page crypto with DES3_EDE.
Signed-off-by: Jussi Kivilinna
---
crypto/tcrypt.c |1
crypto/testmgr.c | 15 +
crypto/testmgr.h | 1106 +++
Most DES testvectors are short and do not test parallelised codepaths
well. Add larger testvectors to test large crypto operations and to test
multi-page crypto with DES.
Signed-off-by: Jussi Kivilinna
---
crypto/tcrypt.c |1
crypto/testmgr.c | 15 +
crypto/testmgr.h | 584 +
Most AES testvectors are short and do not test parallelised codepaths
well. Add larger testvectors to test large crypto operations and to test
multi-page crypto with AES.
Signed-off-by: Jussi Kivilinna
---
crypto/testmgr.h | 1112 ++
1 file cha
AVX2 implementation of serpent cipher processes 16 blocks parallel, so
we need to make test vectors larger to check parallel code paths.
Signed-off-by: Jussi Kivilinna
---
crypto/testmgr.h | 780 +++---
1 file changed, 742 insertions(+), 38 deleti
AVX2 implementation of blowfish cipher processes 32 blocks parallel, so
we need to make test vectors larger to check parallel code paths.
Signed-off-by: Jussi Kivilinna
---
crypto/testmgr.h | 1000 --
1 file changed, 962 insertions(+), 38 delet
AVX/AES-NI implementation of camellia cipher processes 16 blocks
parallel, so we need to make test vectors larger to check parallel
code paths.
Signed-off-by: Jussi Kivilinna
---
crypto/testmgr.h | 990 +++---
1 file changed, 940 insertions(+), 50
Test vectors for camellia, blowfish and serpent are expanded for future
implementations.
New test vectors for aes, des and des3_ede are added to test existing
implementations.
---
Jussi Kivilinna (6):
crypto: testmgr - expand camellia test vectors
crypto: testmgr - expand blowfish te
cryptd_queue_worker attempts to prevent simultaneous accesses to crypto
workqueue by cryptd_enqueue_request using preempt_disable/preempt_enable.
However cryptd_enqueue_request might be called from interrupt context,
so add local_irq_save/local_irq_restore to prevent data corruption and
panics.
Bu
17 matches
Mail list logo