Method: OpenSSL::BN#set_flags
- Defined in:
- ossl_bn.c
#set_flags(flags) ⇒ nil
Enables the flags on the BN object. Currently, the flags argument can contain zero of OpenSSL::BN::CONSTTIME.
1188 1189 1190 1191 1192 1193 1194 1195 1196 |
# File 'ossl_bn.c', line 1188
static VALUE
ossl_bn_set_flags(VALUE self, VALUE arg)
{
BIGNUM *bn;
GetBN(self, bn);
BN_set_flags(bn, NUM2INT(arg));
return Qnil;
}
|