Fix Kloxwork Issue : NULL check after new

A unique pointer of EVP_CIPHER_CTX is created using EVP_CIPHER_CTX_new()
which could return NULL.
This Commit adds a NULL check to avoid NULL pointer dereferencing and
returns memory error.

Signed-off-by: P Dheeraj Srujan Kumar <p.dheeraj.srujan.kumar@intel.com>
Change-Id: Icbc599210034feb6f7b3c35542bcfff205987628
1 file changed