BN_BLINDING_convert_ex

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

NameDescription
nValue updated in place to its blinded form.
rOptional destination for the inverse blinding factor, or NULL.
bBlinding parameters from BN_BLINDING_new() or BN_BLINDING_create_param().
ctxBN_CTX scratch space.