Handle ECDSA messages that may be a few bits longer than the key.

Also fix an RSA error message.

Bug: 22064177
Change-Id: If52b29a3e870e0318d9ecc0f124074a013cb491a
3 files changed