commit | 74279b63428d9b25052207dd81121b67a847c20e | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Thu Jul 24 13:09:19 2014 -0400 |
committer | Adam Langley <agl@google.com> | Fri Aug 07 23:53:09 2015 +0000 |
tree | 9d90caaa7ab3835fcbdb4eaf1cfaedf83fa1f5f1 | |
parent | 2deb984187ce8f6c739c780e7fe95e859e93b3da [diff] |
Avoid a copy when using RSA_PADDING_NONE. RSA_PADDING_NONE is actually the important one for RSA_decrypt since OAEP isn't used much and RSA_PKCS1_PADDING is unsafe to use due to timing constraints. (The SSL stack uses RSA_PADDING_NONE and does the padding check separately.) Change-Id: I5f9d168e7c34796a41bf01fc1878022742b63501 Reviewed-on: https://boringssl-review.googlesource.com/5641 Reviewed-by: Adam Langley <agl@google.com>