Lines Matching refs:BN_ULONG
136 static const BN_ULONG data_one=1L;
137 static const BIGNUM const_one={(BN_ULONG *)&data_one,1,1,0,BN_FLG_STATIC_DATA};
142 int BN_num_bits_word(BN_ULONG l)
299 static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
301 BN_ULONG *A,*a = NULL;
302 const BN_ULONG *B;
317 a=A=(BN_ULONG *)OPENSSL_malloc(sizeof(BN_ULONG)*words);
339 BN_ULONG a0,a1,a2,a3;
356 memset(A,0,sizeof(BN_ULONG)*words);
389 BN_ULONG *a = bn_expand_internal(b, words);
432 BN_ULONG *a = bn_expand_internal(b, words);
445 BN_ULONG *A = &(b->d[b->top]);
481 BN_ULONG *A;
482 const BN_ULONG *B;
494 BN_ULONG a0,a1,a2,a3;
518 BN_ULONG *tmp_d;
557 BN_ULONG BN_get_word(const BIGNUM *a)
567 int BN_set_word(BIGNUM *a, BN_ULONG w)
570 if (bn_expand(a,(int)sizeof(BN_ULONG)*8) == NULL) return(0);
582 BN_ULONG l;
625 BN_ULONG l;
640 BN_ULONG t1,t2,*ap,*bp;
663 BN_ULONG t1,t2;
717 a->d[i]|=(((BN_ULONG)1)<<j);
733 a->d[i]&=(~(((BN_ULONG)1)<<j));
747 return (int)(((a->d[i])>>j)&((BN_ULONG)1));
779 int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n)
782 BN_ULONG aa,bb;
803 int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b,