Blind n using b, optionally storing the inverse factor in r.

Synopsis

Declared in <openssl/bn.h>

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

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

n

Value updated in place to its blinded form.

r

Optional destination for the inverse blinding factor, or NULL.

b

Blinding parameters from BN_BLINDING_new() or BN_BLINDING_create_param().

ctx

BN_CTX scratch space.

Created with MrDocs