pike.git
/
src
/
post_modules
/
Nettle
/
hogweed.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/post_modules/Nettle/hogweed.cmod:360:
CVAR const struct ecc_curve *curve; /* Initialized to the scalar constant 1. */ CVAR struct ecc_scalar scalar_one; DECLARE_STORAGE; EXIT {
+
if (THIS->curve) {
ecc_scalar_clear(&THIS->scalar_one); }
-
+
}
/*! @decl void create(int(0..) curve) *! *! Initialize the curve. *! *! @param curve *! The curve type the object should be initialized as. *! @int *! @value Nettle.SECP192R1 *! @value Nettle.SECP224R1