2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/drivers/crypto
Sebastian Siewior ad5d27899f [CRYPTO] sha: Load the SHA[1|256] module by an alias
Loading the crypto algorithm by the alias instead of by module directly
has the advantage that all possible implementations of this algorithm
are loaded automatically and the crypto API can choose the best one
depending on its priority.

Additionally it ensures that the generic implementation as well as the
HW driver (if available) is loaded in case the HW driver needs the
generic version as fallback in corner cases.

Also remove the probe for sha1 in padlock's init code.

Quote from Herbert:
  The probe is actually pointless since we can always probe when
  the algorithm is actually used which does not lead to dead-locks
  like this.

Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2007-10-10 16:55:50 -07:00
..
geode-aes.c [CRYPTO] aes: Rename aes to aes-generic 2007-10-10 16:55:49 -07:00
geode-aes.h [CRYPTO] geode: Fix in-place operations and set key 2007-05-24 21:23:24 +10:00
Kconfig [CRYPTO] drivers/Kconfig: Remove "default m"s 2007-10-10 16:55:37 -07:00
Makefile [CRYPTO] padlock: Remove pointless padlock module 2007-05-02 22:08:26 +10:00
padlock-aes.c [CRYPTO] aes: Rename aes to aes-generic 2007-10-10 16:55:49 -07:00
padlock-sha.c [CRYPTO] sha: Load the SHA[1|256] module by an alias 2007-10-10 16:55:50 -07:00
padlock.h [CRYPTO] padlock: Added block cipher versions of CBC/ECB 2006-09-21 11:44:35 +10:00