crypto: pcrypt - Use crypto_aead_set_reqsize helper
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 11 May 2015 09:48:01 +0000 (17:48 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 13 May 2015 02:31:41 +0000 (10:31 +0800)
commitfd0de97890d88b979c2731bd5b70d504175fc2ed
tree50be4a857b208c2f1fa33437a97a5c26fab1694e
parent5d72336f1b2c8516828c4c7748bdd3ec8a4938da
crypto: pcrypt - Use crypto_aead_set_reqsize helper

This patch uses the crypto_aead_set_reqsize helper to avoid directly
touching the internals of aead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/pcrypt.c