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

version» Context lines:

pike.git/src/post_modules/Nettle/hogweed.cmod:1144:      #endif /* HAVE_NETTLE_ECDSA_H */      #if defined(HAVE_NETTLE_EDDSA_H) && defined(HAVE_NETTLE_CURVE25519_H)   #include <nettle/curve25519.h>      #include <nettle/eddsa.h>      /*! @class Curve25519    *! -  *! Elliptic Curve Definition. +  *! Elliptic Curve Definition for the curve +  *! @expr{y^2 = x^2 + 486662 x^2 + x (mod 2^255 - 19)@}. +  *! +  *! This curve is standardized in @rfc{7748@}. +  *! +  *! @note +  *! The API for this curve differs somewhat from the API +  *! used by the other @[Curve]s. +  *! +  *! @seealso +  *! @[Curve], @rfc{7748@}    */   PIKECLASS Curve25519   {    DECLARE_STORAGE;       /*! @decl string(7bit) name()    *!    *! Returns the name of the curve.    */    PIKEFUN string(7bit) name()