crypto: gcm - fix rfc4543 to handle async crypto correctly
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 7 Apr 2013 13:43:46 +0000 (16:43 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2013 13:01:47 +0000 (21:01 +0800)
commitd733ac90f9fe8ac284e523f9920b507555b12f6d
tree5473aaed000ebb394a01a4741108e358ba24bc98
parent9489667d3e3d39ba452037585e48a89ce44ccbfe
crypto: gcm - fix rfc4543 to handle async crypto correctly

If the gcm cipher used by rfc4543 does not complete request immediately,
the authentication tag is not copied to destination buffer. Patch adds
correct async logic for this case.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/gcm.c