diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-08-15 16:17:52 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-08-29 12:05:11 +0300 |
commit | 7bac4f5b8e3a607f7ba1d3a652f5922a657fa9e8 (patch) | |
tree | a1c868629d1cb6c7ab563e0e5bb6c9c176f91fb9 /lib/raid6/neon.uc | |
parent | 69c0e360f990c2dc737681f40a361195066cef02 (diff) | |
download | linux-7bac4f5b8e3a607f7ba1d3a652f5922a657fa9e8.tar.xz |
s390/crypto: simplify CPACF encryption / decryption functions
The double while loops of the CTR mode encryption / decryption functions
are overly complex for little gain. Simplify the functions to a single
while loop at the cost of an additional memcpy of a few bytes for every
4K page worth of data.
Adapt the other crypto functions to make them all look alike.
Reviewed-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/raid6/neon.uc')
0 files changed, 0 insertions, 0 deletions