Lines Matching refs:BIGNUM
68 BIGNUM *BN_new(void) {
69 BIGNUM *bn = OPENSSL_malloc(sizeof(BIGNUM));
76 memset(bn, 0, sizeof(BIGNUM));
82 void BN_init(BIGNUM *bn) {
83 memset(bn, 0, sizeof(BIGNUM));
86 void BN_free(BIGNUM *bn) {
102 void BN_clear_free(BIGNUM *bn) {
117 OPENSSL_cleanse(bn, sizeof(BIGNUM));
123 BIGNUM *BN_dup(const BIGNUM *src) {
124 BIGNUM *copy;
143 BIGNUM *BN_copy(BIGNUM *dest, const BIGNUM *src) {
159 void BN_clear(BIGNUM *bn) {
168 const BIGNUM *BN_value_one(void) {
170 static const BIGNUM const_one = {(BN_ULONG *)&data_one, 1, 1, 0,
176 void BN_with_flags(BIGNUM *out, const BIGNUM *in, int flags) {
177 memcpy(out, in, sizeof(BIGNUM));
232 unsigned BN_num_bits(const BIGNUM *bn) {
242 unsigned BN_num_bytes(const BIGNUM *bn) {
246 void BN_zero(BIGNUM *bn) {
250 int BN_one(BIGNUM *bn) {
254 int BN_set_word(BIGNUM *bn, BN_ULONG value) {
270 int BN_is_negative(const BIGNUM *bn) {
274 void BN_set_negative(BIGNUM *bn, int sign) {
282 BIGNUM *bn_wexpand(BIGNUM *bn, unsigned words) {
314 BIGNUM *bn_expand(BIGNUM *bn, unsigned bits) {
318 void bn_correct_top(BIGNUM *bn) {
332 int BN_get_flags(const BIGNUM *bn, int flags) {
336 void BN_set_flags(BIGNUM *bn, int flags) {