pike.git
/
src
/
post_modules
/
Nettle
/
nettle.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/post_modules/Nettle/nettle.cmod:958:
} if (len < 0) Pike_error("String too short to unpad\n"); add_ref(str); pop_stack(); push_string(make_shared_binary_string(str->str, len)); free_string(str); }
+
+
/*! @decl this_program set_iv(string iv)
+
*! Set the initialization vector to @[iv].
+
*/
+
PIKEFUN object set_iv(string iv)
+
optflags OPT_SIDE_EFFECT;
+
{
+
apply(THIS->object, "set_iv", args);
+
args = 1;
+
RETURN this_object();
}
-
+
}
+
/*! @endclass */ #if 0 /* @class LFib * The Donald Knuth Lagged Fibonacci pseudo random number generator. * This is @b{not@} a source for cryptographic randomness. Use * @[Crypto.Yarrow] instead. */