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
Name |
Description |
n |
Value to blind in place (multiplied by the 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