summaryrefslogtreecommitdiffstats
path: root/src/crypto/rsa
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-03-31 18:58:05 -0700
committerAdam Langley <agl@google.com>2015-04-02 11:32:06 -0700
commitf7e890d94bfb2ecad87621eed301e1897b5a6aef (patch)
treec712592a9ab361adf49b2c4500859307828aa910 /src/crypto/rsa
parentf40f42df67fffec64967b000e4fdad4b435611a5 (diff)
downloadexternal_boringssl-f7e890d94bfb2ecad87621eed301e1897b5a6aef.zip
external_boringssl-f7e890d94bfb2ecad87621eed301e1897b5a6aef.tar.gz
external_boringssl-f7e890d94bfb2ecad87621eed301e1897b5a6aef.tar.bz2
Add compatibility functions for OpenSSH.
Change-Id: I2fcb67fea859220e7e7bbbdb5dd910fb847c5600
Diffstat (limited to 'src/crypto/rsa')
-rw-r--r--src/crypto/rsa/rsa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crypto/rsa/rsa.c b/src/crypto/rsa/rsa.c
index cfdd7ff..66002cc 100644
--- a/src/crypto/rsa/rsa.c
+++ b/src/crypto/rsa/rsa.c
@@ -759,3 +759,7 @@ int RSA_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in,
return RSA_default_method.private_transform(rsa, out, in, len);
}
+
+int RSA_blinding_on(RSA *rsa, BN_CTX *ctx) {
+ return 1;
+}