pike.git / src / post_modules / Nettle / hogweed.cmod

version» Context lines:

pike.git/src/post_modules/Nettle/hogweed.cmod:331:      #include <nettle/ecdsa.h>      #define SECP192R1 0   #define SECP224R1 1   #define SECP256R1 2   #define SECP384R1 3   #define SECP521R1 4      #ifndef ecc_point_equal_p - int ecc_point_equal_p(const struct ecc_point *a, const struct ecc_point *b) + static int ecc_point_equal_p(const struct ecc_point *a, const struct ecc_point *b)   {    return (a->ecc == b->ecc) && !mpn_cmp(a->p, b->p, ecc_size_a(a->ecc));   }   #endif      /*! @class ECC_Curve    *!    *! Elliptic Curve Definition    */   PIKECLASS ECC_Curve