OSDN Git Service

crypto: aesni - Merge INITIAL_BLOCKS_ENC/DEC
authorDave Watson <davejwatson@fb.com>
Wed, 14 Feb 2018 17:38:12 +0000 (09:38 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Feb 2018 14:16:41 +0000 (22:16 +0800)
commite1fd316fbae104f96cc9c36073fe102d298f8576
tree96948f5d3092a66fc6ceb8ee8cda0f6c789f9f51
parent8c48db9a63e1ef9045a4de9ccc004a306dc3b932
crypto: aesni - Merge INITIAL_BLOCKS_ENC/DEC

Use macro operations to merge implemetations of INITIAL_BLOCKS,
since they differ by only a small handful of lines.

Use macro counter \@ to simplify implementation.

Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_asm.S