[PATCH 4.19 01/56] crypto: ccp - Release all allocated memory if sha type is invalid