Lines Matching refs:tmpbn
28 size_t *buf_n, BIGNUM **tmpbn, int *found) in prepare_from_text() argument
50 r = BN_hex2bn(tmpbn, value); in prepare_from_text()
52 r = BN_asc2bn(tmpbn, value); in prepare_from_text()
54 if (r == 0 || *tmpbn == NULL) in prepare_from_text()
58 && BN_is_negative(*tmpbn)) { in prepare_from_text()
73 if (p->data_type == OSSL_PARAM_INTEGER && BN_is_negative(*tmpbn) in prepare_from_text()
74 && !BN_add_word(*tmpbn, 1)) { in prepare_from_text()
78 buf_bits = (size_t)BN_num_bits(*tmpbn); in prepare_from_text()
136 void *buf, size_t buf_n, BIGNUM *tmpbn) in construct_from_text() argument
153 BN_bn2nativepad(tmpbn, buf, buf_n); in construct_from_text()
162 && BN_is_negative(tmpbn)) { in construct_from_text()
209 BIGNUM *tmpbn = NULL; in OSSL_PARAM_allocate_from_text() local
216 ¶mdef, &ishex, &buf_n, &tmpbn, found)) in OSSL_PARAM_allocate_from_text()
223 buf, buf_n, tmpbn); in OSSL_PARAM_allocate_from_text()
224 BN_free(tmpbn); in OSSL_PARAM_allocate_from_text()
229 BN_free(tmpbn); in OSSL_PARAM_allocate_from_text()