On Mon, 17 Oct 2011, Kasatkin, Dmitry wrote:
It is there for completeness and it will not be even compiled at all
without CONFIG_MPILIB_EXTRA
Still remove?
Yes, please.
--
James Morris
jmor...@namei.org
--
To unsubscribe from this list: send the line unsubscribe linux-crypto in
the body
Kim Phillips kim.phill...@freescale.com wrote:
The CDPR (Current Descriptor Pointer Register) can be unreliable
when trying to locate an offending descriptor. Handle that case by
(a) not OOPSing, and (b) reverting to the machine internal copy of
the descriptor header in order to report the
This series adds lrw_crypt() and xts_crypt() functions for cipher
implementations that
can benefit from parallel cipher block operations. To make interface flexible,
caller is reponsible of allocating buffer large enough to store temporary cipher
blocks. This buffer size should be as large as
LRW has fixed blocksize of 16. Define LRW_BLOCK_SIZE and use in place of
crypto_cipher_blocksize().
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/lrw.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/crypto/lrw.c b/crypto/lrw.c
index
Split gf128mul initialization from setkey so that it can be used outside
lrw-module.
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/lrw.c | 61 ++
1 files changed, 40 insertions(+), 21 deletions(-)
diff --git
Export gf128mul table initialization routines and add lrw_crypt() function
that can be used by cipher implementations that can benefit from parallelized
cipher operations.
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/lrw.c | 105
Add test vectors for lrw(serpent). These are generated from lrw(aes) test
vectors.
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/testmgr.c | 15 ++
crypto/testmgr.h | 502 ++
2 files changed, 517 insertions(+), 0
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/tcrypt.c |9 +
crypto/tcrypt.h |1 +
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 5526065..9a9e170 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@
Patch adds LRW support for serpent-sse2 by using lrw_crypt(). Patch has been
tested with tcrypt and automated filesystem tests.
Tcrypt benchmarks results (serpent-sse2/serpent_generic speed ratios):
Benchmark results with tcrypt:
Intel Celeron T1600 (x86_64) (fam:6, model:15, step:13):
size
Add test vectors for lrw(twofish). These are generated from lrw(aes) test
vectors.
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/testmgr.c | 15 ++
crypto/testmgr.h | 501 ++
2 files changed, 516 insertions(+), 0
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/tcrypt.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 9a9e170..0120383 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -990,6 +990,7 @@ static int
Patch adds LRW support for twofish-x86_64-3way by using lrw_crypt(). Patch has
been tested with tcrypt and automated filesystem tests.
Tcrypt benchmarks results (twofish-3way/twofish-asm speed ratios):
Intel Celeron T1600 (fam:6, model:15, step:13):
sizelrw-enc lrw-dec
16B 0.99x 1.00x
XTS has fixed blocksize of 16. Define XTS_BLOCK_SIZE and use in place of
crypto_cipher_blocksize().
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/xts.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/crypto/xts.c b/crypto/xts.c
index
Add test vectors for xts(serpent). These are generated from xts(aes) test
vectors.
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/testmgr.c | 15 +
crypto/testmgr.h | 682 ++
2 files changed, 697 insertions(+), 0
Patch adds XTS support for serpent-sse2 by using xts_crypt(). Patch has been
tested with tcrypt and automated filesystem tests.
Tcrypt benchmarks results (serpent-sse2/serpent_generic speed ratios):
Intel Celeron T1600 (x86_64) (fam:6, model:15, step:13):
sizexts-enc xts-dec
16B 0.98x
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/tcrypt.c |9 +
crypto/tcrypt.h |1 +
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 0120383..a664595 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@
Signed-off-by: Jussi Kivilinna jussi.kivili...@mbnet.fi
---
crypto/tcrypt.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index a664595..7736a9f 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -991,6 +991,7 @@ static int
Patch adds XTS support for twofish-x86_64-3way by using xts_crypt(). Patch has
been tested with tcrypt and automated filesystem tests.
Tcrypt benchmarks results (twofish-3way/twofish-asm speed ratios):
Intel Celeron T1600 (fam:6, model:15, step:13):
sizexts-enc xts-dec
16B 0.98x 1.00x
I did some experiments with af_alg and noticed that to be really
useful, it should indicate whether a certain algorithm is hardware
accelerated. I guess this has to be inferred by the priority of the
algorithm could be made available via a read-only socket option. Any
thoughts on this?
I can
On Tue, 18 Oct 2011 09:36:18 +0200
Herbert Xu herb...@gondor.apana.org.au wrote:
Kim Phillips kim.phill...@freescale.com wrote:
The CDPR (Current Descriptor Pointer Register) can be unreliable
when trying to locate an offending descriptor. Handle that case by
(a) not OOPSing, and (b)
20 matches
Mail list logo