Lines Matching refs:BN_ULONG
138 static const BN_ULONG data_one = 1L;
140 { (BN_ULONG *)&data_one, 1, 1, 0, BN_FLG_STATIC_DATA };
145 int BN_num_bits_word(BN_ULONG l)
287 static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
289 BN_ULONG *A, *a = NULL;
290 const BN_ULONG *B;
303 a = A = (BN_ULONG *)OPENSSL_malloc(sizeof(BN_ULONG) * words);
315 memset(a, 0, sizeof(BN_ULONG) * words);
332 BN_ULONG a0, a1, a2, a3;
359 memset(A, 0, sizeof(BN_ULONG) * words);
391 BN_ULONG *a = bn_expand_internal(b, words);
431 BN_ULONG *a = bn_expand_internal(b, words);
447 BN_ULONG *A = &(b->d[b->top]);
489 BN_ULONG *A;
490 const BN_ULONG *B;
503 BN_ULONG a0, a1, a2, a3;
536 BN_ULONG *tmp_d;
577 BN_ULONG BN_get_word(const BIGNUM *a)
587 int BN_set_word(BIGNUM *a, BN_ULONG w)
590 if (bn_expand(a, (int)sizeof(BN_ULONG) * 8) == NULL)
603 BN_ULONG l;
646 BN_ULONG l;
660 BN_ULONG t1, t2, *ap, *bp;
683 BN_ULONG t1, t2;
743 a->d[i] |= (((BN_ULONG)1) << j);
761 a->d[i] &= (~(((BN_ULONG)1) << j));
777 return (int)(((a->d[i]) >> j) & ((BN_ULONG)1));
810 int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n)
813 BN_ULONG aa, bb;
837 int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b, int cl, int dl)
864 void BN_consttime_swap(BN_ULONG condition, BIGNUM *a, BIGNUM *b, int nwords)
866 BN_ULONG t;
874 assert(sizeof(BN_ULONG) >= sizeof(int));