[PATCH v2 0/3] crypto: arm and cryptd fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patch #1 fixes a trivial code generation issue on ARM.

Patch #2 and #3 fix the broken GHASH on ARM using the v8 Crypto Extensions
pmull.64 instructions. The problem seems to be that it is allowed to call
.import() without .init() (at least, that is what the test cases do), but
this means that the initialization to tie the shash_desc's to their child
transforms needs to execute in the .import() context as well.

Perhaps Herbert could shed some light on this? Thanks.

In any case, these patches are both necessary (and sufficient) to get GHASH
on ARM working again, including the boot time selftests


Ard Biesheuvel (3):
  crypto: arm/sha1-neon - add support for building in Thumb2 mode
  crypto: arm/ghash-ce - add missing async import/export
  crypto: cryptd - initialize child shash_desc on import

 arch/arm/crypto/ghash-ce-glue.c   | 24 ++++++++++++++++++++
 arch/arm/crypto/sha1-armv7-neon.S |  1 -
 crypto/cryptd.c                   |  9 ++++++--
 3 files changed, 31 insertions(+), 3 deletions(-)

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux