Lines Matching refs:BN_ULONG
21 static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
27 static const BN_ULONG _nist_p_192_sqr[] = {
32 static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = {
40 static const BN_ULONG _nist_p_224_sqr[] = {
47 static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = {
60 static const BN_ULONG _nist_p_256_sqr[] = {
67 static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
80 static const BN_ULONG _nist_p_384_sqr[] = {
87 static const BN_ULONG _nist_p_521[] =
95 static const BN_ULONG _nist_p_521_sqr[] = {
104 static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
110 static const BN_ULONG _nist_p_192_sqr[] = {
115 static const BN_ULONG _nist_p_224[][BN_NIST_224_TOP] = {
122 static const BN_ULONG _nist_p_224_sqr[] = {
129 static const BN_ULONG _nist_p_256[][BN_NIST_256_TOP] = {
142 static const BN_ULONG _nist_p_256_sqr[] = {
149 static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
162 static const BN_ULONG _nist_p_384_sqr[] = {
169 static const BN_ULONG _nist_p_521[] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
175 static const BN_ULONG _nist_p_521_sqr[] = {
188 (BN_ULONG *)_nist_p_192[0],
196 (BN_ULONG *)_nist_p_224[0],
204 (BN_ULONG *)_nist_p_256[0],
212 (BN_ULONG *)_nist_p_384[0],
220 (BN_ULONG *)_nist_p_521,
268 const BN_ULONG *src = src_in; \
276 static void nist_cp_bn(BN_ULONG *dst, const BN_ULONG *src, int top)
286 # define bn_64_set_0(to, n) (to)[n] = (BN_ULONG)0;
314 # define bn_32_set_0(to, n) (to)[n] = (BN_ULONG)0;
334 register BN_ULONG *r_d, *a_d = a->d;
336 BN_ULONG bn[BN_NIST_192_TOP];
337 unsigned int ui[BN_NIST_192_TOP * sizeof(BN_ULONG) /
340 BN_ULONG c_d[BN_NIST_192_TOP], *res;
342 (BN_ULONG *)_nist_p_192_sqr,
418 BN_ULONG t_d[BN_NIST_192_TOP];
451 typedef BN_ULONG (*bn_addsub_f) (BN_ULONG *, const BN_ULONG *,
452 const BN_ULONG *, int);
470 BN_ULONG *r_d, *a_d = a->d;
472 BN_ULONG bn[BN_NIST_224_TOP];
473 unsigned int ui[BN_NIST_224_TOP * sizeof(BN_ULONG) /
476 BN_ULONG c_d[BN_NIST_224_TOP], *res;
479 (BN_ULONG *)_nist_p_224_sqr,
575 BN_ULONG t_d[BN_NIST_224_TOP];
642 register BN_ULONG *a_d = a->d, *r_d;
644 BN_ULONG bn[BN_NIST_256_TOP];
645 unsigned int ui[BN_NIST_256_TOP * sizeof(BN_ULONG) /
648 BN_ULONG c_d[BN_NIST_256_TOP], *res;
651 (BN_ULONG *)_nist_p_256_sqr,
776 BN_ULONG t_d[BN_NIST_256_TOP];
789 register BN_ULONG *ap, t, c;
879 register BN_ULONG *r_d, *a_d = a->d;
881 BN_ULONG bn[BN_NIST_384_TOP];
882 unsigned int ui[BN_NIST_384_TOP * sizeof(BN_ULONG) /
885 BN_ULONG c_d[BN_NIST_384_TOP], *res;
888 (BN_ULONG *)_nist_p_384_sqr,
1040 BN_ULONG t_d[BN_NIST_384_TOP];
1048 register BN_ULONG *ap, t, c;
1132 #define BN_NIST_521_TOP_MASK ((BN_ULONG)BN_MASK2>>BN_NIST_521_LSHIFT)
1138 BN_ULONG *r_d, *a_d = a->d, t_d[BN_NIST_521_TOP], val, tmp, *res;
1140 (BN_ULONG *)_nist_p_521_sqr,