summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2017-03-15 23:37:34 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-03-24 22:02:52 +0800
commitde696a26435ae50f06fd913bc84e0bf602caee1f (patch)
tree5ea7e797a6d0bdad8b4b2194bf5152c7b83c48d5 /crypto
parent2e6d603e5163e6f32a8686744b4d53e8778957ba (diff)
crypto: powerpc - Factor out the core CRC vpmsum algorithm
The core nuts and bolts of the crc32c vpmsum algorithm will also work for a number of other CRC algorithms with different polynomials. Factor out the function into a new asm file. To handle multiple users of the function, a user simply provides constants, defines the name of their CRC function, and then #includes the core algorithm file. Cc: Anton Blanchard <anton@samba.org> Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions