Lines Matching refs:BN_ULONG

69 static const BN_ULONG _nist_p_192[] =
72 static const BN_ULONG _nist_p_224[] =
75 static const BN_ULONG _nist_p_256[] =
78 static const BN_ULONG _nist_p_384[] =
82 static const BN_ULONG _nist_p_521[] =
89 static const BN_ULONG _nist_p_192[] = {0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFE,
91 static const BN_ULONG _nist_p_224[] = {0x00000001,0x00000000,0x00000000,
93 static const BN_ULONG _nist_p_256[] = {0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,
95 static const BN_ULONG _nist_p_384[] = {0xFFFFFFFF,0x00000000,0x00000000,
98 static const BN_ULONG _nist_p_521[] = {0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,
103 static const BN_ULONG _nist_p_192[] = {0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFE,
105 static const BN_ULONG _nist_p_224[] = {0x0001,0x0000,0x0000,0x0000,0x0000,
107 static const BN_ULONG _nist_p_256[] = {0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
110 static const BN_ULONG _nist_p_384[] = {0xFFFF,0xFFFF,0x0000,0x0000,0x0000,
113 static const BN_ULONG _nist_p_521[] = {0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,
118 static const BN_ULONG _nist_p_192[] = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
121 static const BN_ULONG _nist_p_224[] = {0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
124 static const BN_ULONG _nist_p_256[] = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
127 static const BN_ULONG _nist_p_384[] = {0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,
131 static const BN_ULONG _nist_p_521[] = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
141 static BIGNUM const_nist_192 = { (BN_ULONG *)_nist_p_192,
148 static BIGNUM const_nist_224 = { (BN_ULONG *)_nist_p_224,
155 static BIGNUM const_nist_256 = { (BN_ULONG *)_nist_p_256,
162 static BIGNUM const_nist_384 = { (BN_ULONG *)_nist_p_384,
169 static BIGNUM const_nist_521 = { (BN_ULONG *)_nist_p_521,
176 static BN_ULONG _256_data[BN_NIST_256_TOP*6];
180 static BN_ULONG _384_data[BN_NIST_384_TOP*8];
187 static void nist_cp_bn_0(BN_ULONG *buf, BN_ULONG *a, int top, int max)
190 BN_ULONG *_tmp1 = (buf), *_tmp2 = (a);
194 *_tmp1++ = (BN_ULONG) 0;
197 static void nist_cp_bn(BN_ULONG *buf, BN_ULONG *a, int top)
200 BN_ULONG *_tmp1 = (buf), *_tmp2 = (a);
207 #define bn_64_set_0(to, n) (to)[n] = (BN_ULONG)0;
210 #define bn_32_set_0(to, n) (to)[n] = (BN_ULONG)0;
224 #define bn_32_set_0(to, n) (to)[n] = (BN_ULONG)0;
241 { (to)[(n)*4] = (BN_ULONG)0; (to)[(n)*4+1] = (BN_ULONG)0; \
242 (to)[(n)*4+2] = (BN_ULONG)0; (to)[(n)*4+3] = (BN_ULONG)0; }
258 BN_ULONG carry = 0;
259 register BN_ULONG *r_d, *a_d = a->d;
260 BN_ULONG t_d[BN_NIST_192_TOP],
342 BN_ULONG *r_d, *a_d = a->d;
343 BN_ULONG t_d[BN_NIST_224_TOP],
414 BN_ULONG *tmp1 = _256_data;
415 const BN_ULONG *tmp2 = tmp1;
417 memcpy(tmp1, _nist_p_256, BN_NIST_256_TOP * sizeof(BN_ULONG));
448 register BN_ULONG *a_d = a->d, *r_d;
449 BN_ULONG t_d[BN_NIST_256_TOP],
495 register BN_ULONG *ap,t,c;
566 BN_ULONG *tmp1 = _384_data;
567 const BN_ULONG *tmp2 = tmp1;
569 memcpy(tmp1, _nist_p_384, BN_NIST_384_TOP * sizeof(BN_ULONG));
604 register BN_ULONG *r_d, *a_d = a->d;
605 BN_ULONG t_d[BN_NIST_384_TOP],
646 register BN_ULONG *ap,t,c;
723 #define BN_NIST_521_TOP_MASK (BN_ULONG)0x1FF
725 #define BN_NIST_521_TOP_MASK (BN_ULONG)0x1FF
727 #define BN_NIST_521_TOP_MASK (BN_ULONG)0x1FF
729 #define BN_NIST_521_TOP_MASK (BN_ULONG)0x1
732 BN_ULONG *r_d;