Create and attach a BN_BLINDING factor for RSA private operations (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
BN_BLINDING*
RSA_setup_blinding(
    RSA* rsa,
    BN_CTX* ctx);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

New BN_BLINDING on success, or NULL on failure.

Parameters

Name

Description

rsa

RSA key that will use the returned blinding state.

ctx

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

Created with MrDocs