diff options
author | Jack Lloyd <[email protected]> | 2015-08-29 11:55:36 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-08-29 11:55:36 -0400 |
commit | b403ea921b9ebb35bea8bc19eeae4fa75b71bd22 (patch) | |
tree | 86857c62e5ad5eb412b6e4758906ba649352c9ee /src/lib/math | |
parent | 3103f299dfd9517a4ef3c40358c1a4cad38b7305 (diff) |
Fix OpenSSL RSA to better handle no padding mode.
In raw mode pad out plaintext inputs with zeros as needed as otherwise
OpenSSL rejects the input as too small. And when decrypting, strip
leading zeros to match the behavior of the base implementation.
Diffstat (limited to 'src/lib/math')
0 files changed, 0 insertions, 0 deletions