crypto: xor - skip speed test if the xor function is selected automatically
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 19 Aug 2016 12:19:30 +0000 (14:19 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 24 Aug 2016 13:04:48 +0000 (21:04 +0800)
commit39457acda9139bb078d1b8f974651a194a397060
tree0cca90b5a8f3a511d3edbc01f691ff5a168e3571
parented0bd721c9322e8e6ee953884706080d40106a6e
crypto: xor - skip speed test if the xor function is selected automatically

If the architecture selected the xor function with XOR_SELECT_TEMPLATE
the speed result of the do_xor_speed benchmark is of limited value.
The speed measurement increases the bootup time a little, which can
makes a difference for kernels used in container like virtual machines.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/xor.c