Unblind n after a private modular operation using b (BN_BLINDING_invert_ex with no saved r).
Synopsis
Declared in <openssl/bn.h>
int
BN_BLINDING_invert(
BIGNUM* n,
BN_BLINDING* b,
BN_CTX* ctx);
Return Value
1 on success, or 0 on error.
Parameters
Name |
Description |
n |
Blinded value to multiply by the inverse blinding factor modulo the modulus. |
b |
Blinding parameters from BN_BLINDING_new() or BN_BLINDING_create_param(). |
ctx |
BN_CTX scratch space. |
Created with MrDocs