Skip to content

Commit

Permalink
Optimize AES-CTR for ARM Neoverse V1 and V2.
Browse files Browse the repository at this point in the history
    Unroll AES-CTR loops to a maximum 12 blocks for ARM Neoverse V1 and
    V2, to fully utilize their AES pipeline resources.

    Improvement on ARM Neoverse V1.

    Package Size(Bytes)	16	32	64	128	256	1024
    Improvement(%)	3.93	-0.45	11.30	4.31	12.48	37.66
    Package Size(Bytes)	1500	8192	16384	61440	65536
    Improvement(%)	37.16	38.90	39.89	40.55	40.41

Change-Id: Ifb8fad9af22476259b9ba75132bc3d8010a7fdbd

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from openssl/openssl#22733)

Signed-off-by: fly2x <fly2x@hitls.org>
  • Loading branch information
fisheryu-arm authored and fly2x committed Dec 7, 2023
1 parent 2ca907b commit d6f3c61
Show file tree
Hide file tree
Showing 7 changed files with 815 additions and 6 deletions.

0 comments on commit d6f3c61

Please sign in to comment.