NativeCrypto: throw exception on RSA op failure

A -1 error code should have an error on the stack that explains what the
problem was, but if we call through to an ENGINE that fails we seem to
end up with no error on the stack. Ensure we throw BadPaddingException
in that case.

Bug: 19863798
Change-Id: Idecd9072c1e6636351bc90f16037852bdc55e4a0
1 file changed