android_kernel_xiaomi_sm8350/crypto
Dag Arne Osvik e1d5dea1df [CRYPTO] Add faster DES code from Dag Arne Osvik
I've made a new implementation of DES to replace the old one in the kernel.
It provides faster encryption on all tested processors apart from the original
Pentium, and key setup is many times faster.

                                Speed relative to old kernel implementation
Processor       des_setkey      des_encrypt     des3_ede_setkey des3_ede_encrypt
Pentium
120Mhz          6.8             0.82            7.2             0.86
Pentium III
1.266Ghz        5.6             1.19            5.8             1.34
Pentium M
1.3Ghz          5.7             1.15            6.0             1.31
Pentium 4
2.266Ghz        5.8             1.24            6.0             1.40
Pentium 4E
3Ghz            5.4             1.27            5.5             1.48
StrongARM 1110
206Mhz          4.3             1.03            4.4             1.14
Athlon XP
2Ghz            7.8             1.44            8.1             1.61
Athlon 64
2Ghz            7.8             1.34            8.3             1.49

Signed-off-by: Dag Arne Osvik <da@osvik.no>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-07-06 13:55:44 -07:00
..
aes.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
anubis.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
api.c [CRYPTO] Add null short circuit to crypto_free_tfm 2005-07-06 13:54:31 -07:00
arc4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
blowfish.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cast5.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cast6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cipher.c [CRYPTO] Handle unaligned iv from encrypt_iv/decrypt_iv 2005-07-06 13:53:47 -07:00
compress.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crc32c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crypto_null.c [PATCH] crypto: fix null encryption/compression 2005-05-17 07:59:18 -07:00
deflate.c [PATCH] crypto: call zlib end functions on deflate exit path 2005-04-16 15:23:58 -07:00
des.c [CRYPTO] Add faster DES code from Dag Arne Osvik 2005-07-06 13:55:44 -07:00
digest.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hmac.c [CRYPTO] Don't check for NULL before kfree() 2005-07-06 13:51:00 -07:00
internal.h [CRYPTO] Ensure cit_iv is aligned correctly 2005-07-06 13:53:29 -07:00
Kconfig [CRYPTO] Add x86_64 asm AES 2005-07-06 13:55:00 -07:00
khazad.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md5.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
michael_mic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scatterwalk.c [CRYPTO] Add plumbing for multi-block operations 2005-07-06 13:51:31 -07:00
scatterwalk.h [CRYPTO] Add alignmask for low-level cipher implementations 2005-07-06 13:52:09 -07:00
serpent.c [CRYPTO] Remove unused iv field from context structure 2005-07-06 13:55:21 -07:00
sha1.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sha256.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sha512.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcrypt.c [CRYPTO]: Use CPU cycle counters in tcrypt 2005-06-22 13:29:03 -07:00
tcrypt.h [CRYPTO]: Add cipher speed tests 2005-06-22 13:27:23 -07:00
tea.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tgr192.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
twofish.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wp512.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00