Lines Matching refs:BN_NUMBER
76 #define BN_NUMBER(pBN) ((pBN)->number) macro
101 ZEXPAND_COPY_BNU(BN_NUMBER(pDst), BN_ROOM(pDst), BN_NUMBER(pSrc), BN_SIZE(pSrc)); in cpBN_copy()
109 ZEXPAND_BNU(BN_NUMBER(pBN),0, (int)BN_ROOM(pBN)); in cpBN_zero()
116 FIX_BNU(BN_NUMBER(pBN), len); in cpBN_fix()
125 ZEXPAND_BNU(BN_NUMBER(pBN),0, (int)BN_ROOM(pBN)); in cpBN_chunk()
126 BN_NUMBER(pBN)[0] = a; in cpBN_chunk()
136 ZEXPAND_BNU(BN_NUMBER(pBN),0, BN_ROOM(pBN)); in cpBN_power2()
137 SET_BIT(BN_NUMBER(pBN), power); in cpBN_power2()
146 int bitsize = BITSIZE_BNU(BN_NUMBER(pA), BN_SIZE(pA)); in cpBN_bitsize()
157 int result = cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), BN_NUMBER(pB), BN_SIZE(pB)); in cpBN_cmp()
166 if(1==BN_SIZE(pA) && 0==BN_NUMBER(pA)[0]) in cpBN_tst()
176 return ( BN_SIZE(pA)==1 ) && ( BN_NUMBER(pA)[0]==0 ); in IsZero_BN()
180 return BN_NUMBER(pA)[0] & 1; in IsOdd_BN()
187 ZEXPAND_BNU(BN_NUMBER(pBN),0, BN_ROOM(pBN)); in BN_Word()
188 BN_NUMBER(pBN)[0] = w; in BN_Word()
195 ZEXPAND_COPY_BNU(BN_NUMBER(pBN), BN_ROOM(pBN), pData, len); in BN_Set()
204 BN_NUMBER(pBN) = pData; in BN_Make()