]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[CRYPTO] digest: Add alignment handling
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 9 Apr 2006 22:42:35 +0000 (08:42 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 26 Jun 2006 07:34:38 +0000 (17:34 +1000)
commite1147d8f47eb8fef93f98a30858192145137d2b2
tree7e1bc0ab3d263e5bd801900195ab310625d9ab59
parentd00e708cef16442cabaf23f653baf924f5d66e83
[CRYPTO] digest: Add alignment handling

Some hash modules load/store data words directly.  The digest layer
should pass properly aligned buffer to update()/final() method.  This
patch also add cra_alignmask to some hash modules.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/digest.c
crypto/michael_mic.c
crypto/sha1.c
crypto/sha256.c
crypto/sha512.c
crypto/tgr192.c