crypto: aead - move aead_request_cast helper to aead.h
authorTadeusz Struk <tadeusz.struk@intel.com>
Mon, 1 Feb 2016 19:17:30 +0000 (11:17 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 6 Feb 2016 07:33:22 +0000 (15:33 +0800)
commit53a0bd7144224ba26b326a16e9eaf8bd7f433220
tree68a84943ef791083bb14c4cccbb9422281a346fa
parentf823ab93c518f49c94453bfa9f5c2de6129c9fc6
crypto: aead - move aead_request_cast helper to aead.h

Move the helper function to common header for everybody to use.

changes in v2:
- move the helper to crypto/internal/aead.h
  instead of crypto/aead.h

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c
include/crypto/internal/aead.h