Home | History | Annotate | Download | only in bn

Lines Matching refs:BN_ULONG

71 static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
76 static const BN_ULONG _nist_p_192_sqr[] = {
80 static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = {
86 static const BN_ULONG _nist_p_224_sqr[] = {
92 static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = {
104 static const BN_ULONG _nist_p_256_sqr[] = {
110 static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
122 static const BN_ULONG _nist_p_384_sqr[] = {
128 static const BN_ULONG _nist_p_521[] =
134 static const BN_ULONG _nist_p_521_sqr[] = {
143 static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
148 static const BN_ULONG _nist_p_192_sqr[] = {
152 static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = {
158 static const BN_ULONG _nist_p_224_sqr[] = {
164 static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = {
176 static const BN_ULONG _nist_p_256_sqr[] = {
182 static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
194 static const BN_ULONG _nist_p_384_sqr[] = {
200 static const BN_ULONG _nist_p_521[] = {0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,
204 static const BN_ULONG _nist_p_521_sqr[] = {
219 (BN_ULONG *)_nist_p_192[0],
228 (BN_ULONG *)_nist_p_224[0],
237 (BN_ULONG *)_nist_p_256[0],
246 (BN_ULONG *)_nist_p_384[0],
255 (BN_ULONG *)_nist_p_521,
289 static void nist_cp_bn_0(BN_ULONG *buf, BN_ULONG *a, int top, int max)
292 BN_ULONG *_tmp1 = (buf), *_tmp2 = (a);
300 *_tmp1++ = (BN_ULONG) 0;
303 static void nist_cp_bn(BN_ULONG *buf, BN_ULONG *a, int top)
306 BN_ULONG *_tmp1 = (buf), *_tmp2 = (a);
313 #define bn_64_set_0(to, n) (to)[n] = (BN_ULONG)0;
341 #define bn_32_set_0(to, n) (to)[n] = (BN_ULONG)0;
361 register BN_ULONG *r_d, *a_d = a->d;
363 BN_ULONG bn[BN_NIST_192_TOP];
364 unsigned int ui[BN_NIST_192_TOP*sizeof(BN_ULONG)/sizeof(unsigned int)];
366 BN_ULONG c_d[BN_NIST_192_TOP],
370 (BN_ULONG *)_nist_p_192_sqr,
431 BN_ULONG t_d[BN_NIST_192_TOP];
454 res = (BN_ULONG *)
463 typedef BN_ULONG (*bn_addsub_f)(BN_ULONG *,const BN_ULONG *,const BN_ULONG *,int);
481 BN_ULONG *r_d, *a_d = a->d;
482 BN_ULONG buf[BN_NIST_224_TOP],
488 (BN_ULONG *)_nist_p_224_sqr,
566 BN_ULONG t_d[BN_NIST_224_TOP];
609 res = (BN_ULONG *)(((PTR_SIZE_INT)c_d&~mask) |
635 register BN_ULONG *a_d = a->d, *r_d;
637 BN_ULONG bn[BN_NIST_256_TOP];
638 unsigned int ui[BN_NIST_256_TOP*sizeof(BN_ULONG)/sizeof(unsigned int)];
640 BN_ULONG c_d[BN_NIST_256_TOP],
645 (BN_ULONG *)_nist_p_256_sqr,
749 BN_ULONG t_d[BN_NIST_256_TOP];
758 register BN_ULONG *ap,t,c;
808 res = (BN_ULONG *)(((PTR_SIZE_INT)c_d&~mask) |
838 register BN_ULONG *r_d, *a_d = a->d;
840 BN_ULONG bn[BN_NIST_384_TOP];
841 unsigned int ui[BN_NIST_384_TOP*sizeof(BN_ULONG)/sizeof(unsigned int)];
843 BN_ULONG c_d[BN_NIST_384_TOP],
848 (BN_ULONG *)_nist_p_384_sqr,
968 BN_ULONG t_d[BN_NIST_384_TOP];
974 register BN_ULONG *ap,t,c;
1029 res = (BN_ULONG *)(((PTR_SIZE_INT)c_d&~mask) |
1040 #define BN_NIST_521_TOP_MASK ((BN_ULONG)BN_MASK2>>BN_NIST_521_LSHIFT)
1046 BN_ULONG *r_d, *a_d = a->d,
1051 (BN_ULONG *)_nist_p_521_sqr,
1095 res = (BN_ULONG *)(((PTR_SIZE_INT)t_d&~mask) |