Appendix C. Macros
Error Codes and Status Values
| −1 | division by zero |
| −2 | overflow |
| −3 | underflow |
| −4 | memory allocation error |
| −5 | register not available |
| −6 | invalid base in |
| −7 | even modulus in Montgomery reduction |
| −8 | null pointer passed as argument |
| 1 |
|
| 2 |
|
| −1 |
|
Additional Constants
|
| base B = 216 of the |
|
| B − 1 |
|
| B2 − 1 |
|
| [B/2] |
|
| standard number of registers in register bank |
|
| number of binary digits per |
|
| logarithm of |
Get Cryptography in C and C++, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.