summaryrefslogtreecommitdiff
path: root/lib/raid6
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2016-08-15 16:17:52 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-08-29 12:05:11 +0300
commit7bac4f5b8e3a607f7ba1d3a652f5922a657fa9e8 (patch)
treea1c868629d1cb6c7ab563e0e5bb6c9c176f91fb9 /lib/raid6
parent69c0e360f990c2dc737681f40a361195066cef02 (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions