Allocate a BN_BLINDING object from blinding factors A and A^-1 mod mod.
Declared in <openssl/bn.h>
BN_BLINDING*
BN_BLINDING_new(
BIGNUM const* A,
BIGNUM const* Ai,
BIGNUM* mod);
New BN_BLINDING, or NULL on error; free with BN_BLINDING_free().
| 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. |