Home | History | Annotate | Download | only in bn

Lines Matching full: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 kOne = STATIC_BIGNUM(kOneLimbs);
175 void BN_with_flags(BIGNUM *out, const BIGNUM *in, int flags) {
176 memcpy(out, in, sizeof(BIGNUM));
231 unsigned BN_num_bits(const BIGNUM *bn) {
241 unsigned BN_num_bytes(const BIGNUM *bn) {
245 void BN_zero(BIGNUM *bn) {
249 int BN_one(BIGNUM *bn) {
253 int BN_set_word(BIGNUM *bn, BN_ULONG value) {
269 int BN_is_negative(const BIGNUM *bn) {
273 void BN_set_negative(BIGNUM *bn, int sign) {
281 BIGNUM *bn_wexpand(BIGNUM *bn, size_t words) {
313 BIGNUM *bn_expand(BIGNUM *bn, size_t bits) {
321 void bn_correct_top(BIGNUM *bn) {
335 int BN_get_flags(const BIGNUM *bn, int flags) {
339 void BN_set_flags(BIGNUM *bn, int flags) {