Divide a by word w in place and return the remainder.
Synopsis
Declared in <openssl/bn.h>
unsigned long
BN_div_word(
BIGNUM* a,
unsigned long w);
Return Value
Remainder, or (BN_ULONG)‐1 on error (for example w is 0).
Parameters
Name |
Description |
a |
Dividend updated to the quotient (sign preserved). |
w |
Non‐zero divisor word. |
Created with MrDocs