summaryrefslogtreecommitdiffstats
path: root/crypto/authenc.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2010-05-19 19:21:53 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2010-05-19 19:21:53 +1000
commit60f208d7836216885cdcd6f77a02f31dbc66f169 (patch)
tree03458188b947e1cddf5d0f34b316935e470f7147 /crypto/authenc.c
parent497f2e6b8b21407625a4fb34bc04b50eff098085 (diff)
downloadop-kernel-dev-60f208d7836216885cdcd6f77a02f31dbc66f169.zip
op-kernel-dev-60f208d7836216885cdcd6f77a02f31dbc66f169.tar.gz
crypto: talitos - add support for sha224
SEC h/w versions 2.1 and above support sha224 via explicit instruction. Performing sha224 ahashes on earlier versions is still possible because they support sha256 (sha224 is sha256 with different initial constants and a different truncation length). We do this by overriding hardware context self-initialization, and perform it manually in s/w instead. Thanks to Lee for his fixes for correct execution on actual sec2.0 h/w. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off by: Lee Nipper <lee.nipper@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/authenc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud