]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
crypto: arm/aes - streamline AES-192 code path
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 8 May 2015 08:46:22 +0000 (10:46 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 11 May 2015 07:08:01 +0000 (15:08 +0800)
commit6499e8cfaa8f5d041b20af24d8409dec9f3ac3d0
tree4a5b9fdec8e3932b44fc2ea0dd8d0e739630bb7c
parentc80ae7ca372606a3971dcdfa3420275cf17ef6b6
crypto: arm/aes - streamline AES-192 code path

This trims off a couple of instructions of the total size of the
core AES transform by reordering the final branch in the AES-192
code path with the rounds that are performed regardless of whether
the branch is taken or not. Other than the slight size reduction,
this has no performance benefit.

Fix up a comment regarding the prototype of this function while
we're at it.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/aes-ce-core.S