Create or refresh RSA blinding factors A and A^-1 mod m.
Declared in <openssl/bn.h>
BN_BLINDING*
BN_BLINDING_create_param(
BN_BLINDING* b,
BIGNUM const* e,
BIGNUM* m,
BN_CTX* ctx,
int(* bn_mod_exp)(BIGNUM*, BIGNUM const*, BIGNUM const*, BIGNUM const*, BN_CTX*, BN_MONT_CTX*),
BN_MONT_CTX* m_ctx);
Blinding object on success, or NULL on error.
| Name | Description |
|---|---|
| b | Existing BN_BLINDING to reuse, or NULL to allocate a new one. |
| e | Public exponent used when generating fresh factors (may be NULL to keep the stored value). |
| m | Modulus (copied into the blinding object when b is newly allocated). |
| ctx | BN_CTX scratch space. |
| bn_mod_exp | Modular exponentiation callback used internally, or NULL for BN_mod_exp_mont(). |
| m_ctx | Optional Montgomery context passed to bn_mod_exp, or NULL. |