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

version» Context lines:

pike.git/src/post_modules/Nettle/nettle.cmod:1:   /* nettle.cmod -*- c -*- */ - /* $Id: nettle.cmod,v 1.41 2006/01/07 02:04:53 nilsson Exp $ */ + /* $Id: nettle.cmod,v 1.42 2006/12/29 16:58:39 nilsson Exp $ */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   /* For this_object() */   #include "object.h"   #include "operators.h"   #include "module_support.h"   #include "threads.h"   
pike.git/src/post_modules/Nettle/nettle.cmod:574:    if ((!THIS->block_size) ||    (THIS->block_size > 4096))    Pike_error("Bad block size %ld\n", DO_NOT_WARN((long)THIS->block_size));       THIS->backlog = (unsigned char *)xalloc(THIS->block_size);    THIS->backlog_len = 0;    MEMSET(THIS->backlog, 0, THIS->block_size);    }       /*! @decl string name() -  *! Returns the string @expr{"CBC(x)"@} where x is the +  *! Returns the string @expr{"Proxy(x)"@} where x is the    *! encapsulated algorithm.    */    PIKEFUN string name()    optflags OPT_TRY_OPTIMIZE;    {    push_constant_text("Proxy(");    safe_apply(THIS->object, "name", 0);    push_constant_text(")");    f_add(3);    }