Move RSA_blinding_on out of BCM May as well get this one out of the way. Bug: 42290606 Change-Id: Ia67d5fecbdecc458b2c016c7a6563530bf21811a Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/75247 Commit-Queue: Bob Beck <bbe@google.com> Auto-Submit: David Benjamin <davidben@google.com> Reviewed-by: Bob Beck <bbe@google.com>
diff --git a/crypto/fipsmodule/rsa/rsa.cc.inc b/crypto/fipsmodule/rsa/rsa.cc.inc index 1b1ebd1..4e59964 100644 --- a/crypto/fipsmodule/rsa/rsa.cc.inc +++ b/crypto/fipsmodule/rsa/rsa.cc.inc
@@ -976,5 +976,3 @@ int RSA_flags(const RSA *rsa) { return rsa->flags; } int RSA_test_flags(const RSA *rsa, int flags) { return rsa->flags & flags; } - -int RSA_blinding_on(RSA *rsa, BN_CTX *ctx) { return 1; }
diff --git a/crypto/rsa_extra/rsa_extra.cc b/crypto/rsa_extra/rsa_extra.cc index a76db3f..ecf4122 100644 --- a/crypto/rsa_extra/rsa_extra.cc +++ b/crypto/rsa_extra/rsa_extra.cc
@@ -14,4 +14,6 @@ #include <openssl/rsa.h> +int RSA_blinding_on(RSA *rsa, BN_CTX *ctx) { return 1; } + void RSA_blinding_off(RSA *rsa) {}