RSA_blinding_on

Enable RSA blinding on rsa to mitigate timing attacks (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_blinding_on(
    RSA* rsa,
    BN_CTX* ctx);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
rsaRSA key that will use blinding for private operations.
ctxOptional BN_CTX for blinding setup, or NULL to allocate internally.