diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2022-10-27 14:55:02 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-11-04 17:34:42 +0800 |
commit | 01f633113b19534ab4f4e9cf72d8e72fb3568901 (patch) | |
tree | 75039c45bf120338b9dbd013d258f4a01438b401 /io_uring/epoll.c | |
parent | b1863fd0742f8da21f6f994e14e820db5831bd74 (diff) | |
download | linux-stable-01f633113b19534ab4f4e9cf72d8e72fb3568901.tar.gz linux-stable-01f633113b19534ab4f4e9cf72d8e72fb3568901.tar.bz2 linux-stable-01f633113b19534ab4f4e9cf72d8e72fb3568901.zip |
crypto: arm64/sm4 - add CE implementation for XTS mode
This patch is a CE-optimized assembly implementation for XTS mode.
Benchmark on T-Head Yitian-710 2.75 GHz, the data comes from the 218 mode of
tcrypt, and compared the performance before and after this patch (the driver
used before this patch is xts(ecb-sm4-ce)). The abscissas are blocks of
different lengths. The data is tabulated and the unit is Mb/s:
Before:
xts(ecb-sm4-ce) | 16 64 128 256 1024 1420 4096
----------------+--------------------------------------------------------------
XTS enc | 117.17 430.56 732.92 1134.98 2007.03 2136.23 2347.20
XTS dec | 116.89 429.02 733.40 1132.96 2006.13 2130.50 2347.92
After:
xts-sm4-ce | 16 64 128 256 1024 1420 4096
----------------+--------------------------------------------------------------
XTS enc | 224.68 798.91 1248.08 1714.60 2413.73 2467.84 2612.62
XTS dec | 229.85 791.34 1237.79 1720.00 2413.30 2473.84 2611.95
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'io_uring/epoll.c')
0 files changed, 0 insertions, 0 deletions