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:1388:
res = begin_shared_string(CURVE25519_SIZE); if (THIS->point) { curve25519_mul(STR0(res), STR0(scalar), STR0(THIS->point)); } else { curve25519_mul_g(STR0(res), STR0(scalar)); } push_string(end_shared_string(res)); apply_external(1, Nettle_Curve25519_Point_program_fun_num, 1); }
+
+
PIKEFUN string(8bit) encode()
+
{
+
f_Nettle_Curve25519_Point_get_x(args);
}
-
+
}
/*! @endclass Point */ /*! @class EdDSA *! *! Edwards Curve Digital Signing Algorithm */ PIKECLASS EdDSA program_flags PROGRAM_USES_PARENT|PROGRAM_NEEDS_PARENT|PROGRAM_CLEAR_STORAGE; {