staging: ccree: clean up struct ssi_aead_ctx
authorGilad Ben-Yossef <gilad@benyossef.com>
Thu, 13 Jul 2017 08:19:52 +0000 (11:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jul 2017 06:41:01 +0000 (08:41 +0200)
commit9006ec2fa4fed48f64f113f69159bcc80b7ebd1d
tree37bcca36cceac8747da86848fde24a07a9263afa
parentcb9c79a8d63ff24649eea4747487a150fc3d6ff3
staging: ccree: clean up struct ssi_aead_ctx

struct ssi_aead_ctx has some nested structure defined, resulting
in code accessing them to be very unreadable.

Move out the nested structure definitions out of the struct
and use the change to make the code accessing it more readable
and better coding style compliant by shortening lines and
properly matching alignment,

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_aead.c