Re: [PATCH v4] crypto: tcrypt - add skcipher speed for given alg

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

 



On Mon, Jun 17, 2024 at 05:08:29PM +0100, Sergey Portnoy wrote:
> Allow to run skcipher speed for given algorithm.
> Case 600 is modified to cover ENCRYPT and DECRYPT
> directions.
> 
> Example:
>    modprobe tcrypt mode=600 alg="qat_aes_xts" klen=32
> 
> If succeed, the performance numbers will be printed in dmesg:
>    testing speed of multibuffer qat_aes_xts (qat_aes_xts) encryption
>    test 0 (256 bit key, 16 byte blocks): 1 operation in 14596 cycles (16 bytes)
>    ...
>    test 6 (256 bit key, 4096 byte blocks): 1 operation in 8053 cycles (4096 bytes)
> 
> Signed-off-by: Sergey Portnoy <sergey.portnoy@xxxxxxxxx>
> ---
> 
> v3 -> v4
> 
> - moving speed_template declaration to case section.
> 
>  crypto/tcrypt.c | 9 +++++++++
>  1 file changed, 9 insertions(+)

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




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