Compute r = (a + b) mod m assuming 0 <= a,b < m.
Declared in <openssl/bn.h>
int
BN_mod_add_quick(
BIGNUM* r,
BIGNUM const* a,
BIGNUM const* b,
BIGNUM const* m);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| r | Destination (may alias a or b). |
| a | First addend already reduced modulo m. |
| b | Second addend already reduced modulo m. |
| m | Modulus. |