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

Name

Description

rsa

RSA key that will use blinding for private operations.

ctx

Optional BN_CTX for blinding setup, or NULL to allocate internally.

Created with MrDocs