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