Set BIGNUM a to the single‐word value w.

Synopsis

Declared in <openssl/bn.h>

int
BN_set_word(
    BIGNUM* a,
    unsigned long w);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

a

Destination BIGNUM.

w

Word value to assign (non‐negative).

Created with MrDocs