Some comments explaining some of the constants in the code.

This commit is contained in:
Gregory Maxwell
2015-02-02 01:47:23 +00:00
parent f88343f2eb
commit 6efd6e7777
7 changed files with 32 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ typedef struct {
#endif
} secp256k1_fe_t;
/* Unpacks a constant into a overlapping multi-limbed FE element. */
#define SECP256K1_FE_CONST_INNER(d7, d6, d5, d4, d3, d2, d1, d0) { \
(d0) & 0x3FFFFFFUL, \
((d0) >> 26) | ((d1) & 0xFFFFFUL) << 6, \