1. Add more error handling code to DxeImageVerificationLib and BaseCryptLib.