Internal structure used to cache pre-calculated values for DLOG calculation. More...
Data Fields | |
unsigned int | max |
Maximum absolute value the calculation supports. More... | |
unsigned int | mem |
How much memory should we use (relates to the number of entries in the map). More... | |
struct GNUNET_CONTAINER_MultiPeerMap * | map |
Map mapping points (here "interpreted" as EdDSA public keys) to a "void * = long" which corresponds to the numeric value of the point. More... | |
gcry_ctx_t | ctx |
Context to use for operations on the elliptic curve. More... | |
Internal structure used to cache pre-calculated values for DLOG calculation.
Definition at line 37 of file crypto_ecc_dlog.c.
unsigned int GNUNET_CRYPTO_EccDlogContext::max |
Maximum absolute value the calculation supports.
Definition at line 42 of file crypto_ecc_dlog.c.
Referenced by GNUNET_CRYPTO_ecc_dlog(), and GNUNET_CRYPTO_ecc_dlog_prepare().
unsigned int GNUNET_CRYPTO_EccDlogContext::mem |
How much memory should we use (relates to the number of entries in the map).
Definition at line 47 of file crypto_ecc_dlog.c.
Referenced by GNUNET_CRYPTO_ecc_dlog(), and GNUNET_CRYPTO_ecc_dlog_prepare().
struct GNUNET_CONTAINER_MultiPeerMap* GNUNET_CRYPTO_EccDlogContext::map |
Map mapping points (here "interpreted" as EdDSA public keys) to a "void * = long" which corresponds to the numeric value of the point.
As NULL is used to represent "unknown", the actual value represented by the entry in the map is the "long" minus max.
Definition at line 55 of file crypto_ecc_dlog.c.
Referenced by GNUNET_CRYPTO_ecc_dlog(), GNUNET_CRYPTO_ecc_dlog_prepare(), and GNUNET_CRYPTO_ecc_dlog_release().
gcry_ctx_t GNUNET_CRYPTO_EccDlogContext::ctx |
Context to use for operations on the elliptic curve.
Definition at line 60 of file crypto_ecc_dlog.c.