remove redundant struct initialization

struct cipher_data *out (sess_new->cdata) is already initiallized to
zero as 'ses_new = kzalloc(...)' in the caller function
crypto_create_session

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
initialize struct memory to zero in a single call

kmalloc + memset(0) can be replaced with a single call to kzalloc for
the same results

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
fix test condition to allow non-stream, aead ciphers

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Fix compiler warning when CRYPTO_ALG_KERN_DRIVER_ONLY is defined:
ioctl.c:714:21: warning: 'is_known_accelerated' defined but not used [-Wunused-function]

Add check for "atmel-" HW accelerator.

Signed-off-by: Karl Hiramoto <karl@hiramoto.org>