BN_BLINDING_convert

Blind n for a private modular operation using b (equivalent to BN_BLINDING_convert_ex with no saved inverse).

Synopsis

Declared in <openssl/bn.h>

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

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
nValue to blind in place (multiplied by the blinding factor modulo the modulus).
bBlinding parameters from BN_BLINDING_new() or BN_BLINDING_create_param().
ctxBN_CTX scratch space.