crypto: shash - Require all algorithms to support export/import
This patch provides a default export/import function for all
shash algorithms. It simply copies the descriptor context as
is done by sha1_generic.
This in essence means that all existing shash algorithms now
support export/import.
crypto: sha512-s390 - Add export/import support
This patch adds export/import support to sha512-s390 (which includes
sha384-s390). The exported type is defined by struct sha512_state,
which is basically the entire descriptor state of sha512_generic.
Since sha512-s390 only supports a 64-bit b
crypto: sha512_generic - Use 64-bit counters
This patch replaces the 32-bit counters in sha512_generic with
64-bit counters. It also switches the bit count to the simpler
byte count.
Signed-off-by: Herbert Xu
---
crypto/sha512_generic.c | 28 +++-
include/crypto/sha.
crypto: sha512 - Export struct sha512_state
This patch renames struct sha512_ctx and exports it as struct
sha512_state so that other sha512 implementations can use it
as the reference structure for exporting their state.
Signed-off-by: Herbert Xu
---
crypto/sha512_generic.c | 20 +++-
crypto: xcbc - Fix shash conversion
Although xcbc was converted to shash, it didn't obey the new
requirement that all hash state must be stored in the descriptor
rather than the transform.
This patch fixes this issue and also optimises away the rekeying
by precomputing K2 and K3 within setkey.
S
crypto: xcbc - Use crypto_xor
This patch replaces the local xor function with the generic
crypto_xor function.
Signed-off-by: Herbert Xu
---
crypto/xcbc.c | 22 ++
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/crypto/xcbc.c b/crypto/xcbc.c
index 3b991bf..
Hi:
This series ensures that all existing shash/ahash implementations
support the export/import interface. It is now also a requirement
that all new ones must do so as well.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~}
Home Page: http://gondor.apana.org.au
Hi:
This patch fills in the new finup/export/import functions in
cryptd.
commit 6fba00d176ab73b15bb8e31f261582943429a92b
Author: Herbert Xu
Date: Wed Jul 22 11:10:22 2009 +0800
crypto: cryptd - Add finup/export/import for hash
This patch adds the finup/export/import functions to
On Tue, Jul 21, 2009 at 09:07:25PM +0800, Herbert Xu wrote:
> On Tue, Jul 21, 2009 at 02:25:09PM +0200, Steffen Klassert wrote:
> > I just noticed that your shash version of hmac keeps the paded keys
> > on the transform. I assumed the hashing to be reentrant, so I
> > removed the locks arround the
On Tue, Jul 21, 2009 at 02:25:09PM +0200, Steffen Klassert wrote:
> I just noticed that your shash version of hmac keeps the paded keys
> on the transform. I assumed the hashing to be reentrant, so I
> removed the locks arround the hash functions here.
The padded keys are in the transform because
I just noticed that your shash version of hmac keeps the paded keys
on the transform. I assumed the hashing to be reentrant, so I
removed the locks arround the hash functions here.
Is there a plan to move the paded keys to the request soon,
or should we keep the locks for now and remove them late
This patch converts authenc to the new ahash interface.
Signed-off-by: Steffen Klassert
---
crypto/authenc.c | 371 --
1 files changed, 302 insertions(+), 69 deletions(-)
diff --git a/crypto/authenc.c b/crypto/authenc.c
index 2e16ce0..b9da719
On Thu, Jul 16, 2009 at 11:05:40PM +0800, Shane Wang wrote:
>
> The following VMAC(AES) patch, ported from http://fastcrypto.org/vmac,
> is used to support S3 memory integrity verification for Intel(R) Trusted
> Execution Technology (for more about Intel(R) TXT patches, see
> http://lkml.org/
13 matches
Mail list logo