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

version» Context lines:

pike.git/src/post_modules/Nettle/hogweed.cmod:269:    *! @note    *! This function is not available in all installations of Pike.    */    PIKEFUN void generate(int p_bits, int q_bits,    function(int(0..):string(8bit)) rnd)    {    if (!dsa_generate_params(&THIS->params, rnd, random_func_wrapper,    NULL, NULL, p_bits, q_bits)) {    Pike_error("Illegal parameter value.\n");    } -  pop_n_elems(args); +     }       /*! @decl array(Gmp.mpz) generate_keypair(function(int(0..):string(8bit)) rnd)    *!    *! Generate a Diffie-Hellman key pair.    *!    *! @returns    *! Returns the following array:    *! @array    *! @elem Gmp.mpz 0