Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CVD dsig verification when hash starts with zeros
Occasionally the MD5 hash for RSA-based digital signature verification begins with zeros. A bug in how we convert the RSA decoded plain text from a big number back to a hex string causes it to write the number to the far left of the plain text buffer. If the number is smaller than a hash, then zero-padding ends up on the right when it should've been on the left.
- Loading branch information