mbox series

[v2,0/3] crypto: tcrypt enhancements

Message ID 20201120110433.31090-1-ardb@kernel.org
Headers show
Series crypto: tcrypt enhancements | expand

Message

Ard Biesheuvel Nov. 20, 2020, 11:04 a.m. UTC
Some tcrypt enhancements that I have been using locally to test and
benchmark crypto algorithms on the command line using KVM:
- allow tcrypt.ko to be builtin and defer its initialization to late_initcall
- add 1420 byte blocks to the list of benchmarked block sizes for AEADs and
  skciphers, to get an estimate of the performance in the context of a VPN

Changes since v1:
- use CONFIG_EXPERT not CONFIG_CRYPTO_MANAGER_EXTRA_TESTS to decide whether
  tcrypt.ko may be built in
- add Eric's ack to #1

Ard Biesheuvel (3):
  crypto: tcrypt - don't initialize at subsys_initcall time
  crypto: tcrypt - permit tcrypt.ko to be builtin
  crypto: tcrypt - include 1420 byte blocks in aead and skcipher
    benchmarks

 crypto/Kconfig  |  2 +-
 crypto/tcrypt.c | 83 +++++++++++---------
 2 files changed, 46 insertions(+), 39 deletions(-)

Comments

Herbert Xu Nov. 27, 2020, 6:26 a.m. UTC | #1
On Fri, Nov 20, 2020 at 12:04:30PM +0100, Ard Biesheuvel wrote:
> Some tcrypt enhancements that I have been using locally to test and

> benchmark crypto algorithms on the command line using KVM:

> - allow tcrypt.ko to be builtin and defer its initialization to late_initcall

> - add 1420 byte blocks to the list of benchmarked block sizes for AEADs and

>   skciphers, to get an estimate of the performance in the context of a VPN

> 

> Changes since v1:

> - use CONFIG_EXPERT not CONFIG_CRYPTO_MANAGER_EXTRA_TESTS to decide whether

>   tcrypt.ko may be built in

> - add Eric's ack to #1

> 

> Ard Biesheuvel (3):

>   crypto: tcrypt - don't initialize at subsys_initcall time

>   crypto: tcrypt - permit tcrypt.ko to be builtin

>   crypto: tcrypt - include 1420 byte blocks in aead and skcipher

>     benchmarks

> 

>  crypto/Kconfig  |  2 +-

>  crypto/tcrypt.c | 83 +++++++++++---------

>  2 files changed, 46 insertions(+), 39 deletions(-)


All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt