Unblind n using b, optionally multiplying by a caller‐supplied inverse factor r.

Synopsis

Declared in <openssl/bn.h>

int
BN_BLINDING_invert_ex(
    BIGNUM* n,
    BIGNUM const* r,
    BN_BLINDING* b,
    BN_CTX* ctx);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

n

Blinded value updated in place.

r

Optional precomputed inverse blinding factor, or NULL to use the factor stored in b.

b

Blinding parameters from BN_BLINDING_new() or BN_BLINDING_create_param().

ctx

BN_CTX scratch space.

Created with MrDocs