]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a55dd6a46ba74f2509b62dc0fef7826e773dd5f
tree5473aaed000ebb394a01a4741108e358ba24bc98
parent3f136972a5f529cb855b6ca856f426210a849f76
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