Allocate a BN_BLINDING object from blinding factors A and Aˆ‐1 mod mod.

Synopsis

Declared in <openssl/bn.h>

BN_BLINDING*
BN_BLINDING_new(
    BIGNUM const* A,
    BIGNUM const* Ai,
    BIGNUM* mod);

Return Value

New BN_BLINDING, or NULL on error; free with BN_BLINDING_free().

Parameters

Name

Description

A

Blinding multiplier (may be freshly generated by the caller).

Ai

Modular inverse of A modulo mod.

mod

Modulus copied into the new blinding object.

Created with MrDocs