[PATCH] crypto: ccp - Validate the the error value used to index error messages