Lines Matching refs:r_d
361 register BN_ULONG *r_d, *a_d = a->d;
393 r_d = r->d;
394 nist_cp_bn(r_d, a_d, BN_NIST_192_TOP);
397 r_d = a_d;
404 unsigned int *rp=(unsigned int *)r_d;
434 carry = (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
436 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
438 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
442 carry = (int)bn_sub_words(r_d,r_d,_nist_p_192[carry-1],BN_NIST_192_TOP);
452 mask = 0-(PTR_SIZE_INT)bn_sub_words(c_d,r_d,_nist_p_192[0],BN_NIST_192_TOP);
455 (((PTR_SIZE_INT)c_d&~mask) | ((PTR_SIZE_INT)r_d&mask));
456 nist_cp_bn(r_d, res, BN_NIST_192_TOP);
481 r_d, *a_d = a->d;
512 r_d = r->d;
513 nist_cp_bn(r_d, a_d, BN_NIST_224_TOP);
516 r_d = a_d;
524 r_d[BN_NIST_224_TOP-1] &= BN_MASK2l;
532 unsigned int *rp=(unsigned int *)r_d;
569 carry = (int)bn_add_words(r_d, r_d, t_d, BN_NIST_224_TOP);
571 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_224_TOP);
573 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_224_TOP);
575 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_224_TOP);
578 carry = (int)(r_d[BN_NIST_224_TOP-1]>>32);
585 carry = (int)bn_sub_words(r_d,r_d,_nist_p_224[carry-1],BN_NIST_224_TOP);
587 carry=(int)(~(r_d[BN_NIST_224_TOP-1]>>32))&1;
598 carry = (int)bn_add_words(r_d,r_d,_nist_p_224[-carry-1],BN_NIST_224_TOP);
607 mask = 0-(PTR_SIZE_INT)(*u.f)(c_d,r_d,_nist_p_224[0],BN_NIST_224_TOP);
610 ((PTR_SIZE_INT)r_d&mask));
611 nist_cp_bn(r_d, res, BN_NIST_224_TOP);
635 register BN_ULONG *a_d = a->d, *r_d;
668 r_d = r->d;
669 nist_cp_bn(r_d, a_d, BN_NIST_256_TOP);
672 r_d = a_d;
679 unsigned int *rp=(unsigned int *)r_d;
770 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_256_TOP);
773 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_256_TOP);
776 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_256_TOP);
779 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP);
782 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP);
785 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP);
788 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP);
795 carry = (int)bn_sub_words(r_d,r_d,_nist_p_256[carry-1],BN_NIST_256_TOP);
798 carry = (int)bn_add_words(r_d,r_d,_nist_p_256[-carry-1],BN_NIST_256_TOP);
806 mask = 0-(PTR_SIZE_INT)(*u.f)(c_d,r_d,_nist_p_256[0],BN_NIST_256_TOP);
809 ((PTR_SIZE_INT)r_d&mask));
810 nist_cp_bn(r_d, res, BN_NIST_256_TOP);
838 register BN_ULONG *r_d, *a_d = a->d;
872 r_d = r->d;
873 nist_cp_bn(r_d, a_d, BN_NIST_384_TOP);
876 r_d = a_d;
883 unsigned int *rp=(unsigned int *)r_d;
985 carry = (int)bn_add_words(r_d+(128/BN_BITS2), r_d+(128/BN_BITS2),
988 carry += (int)bn_add_words(r_d, r_d, buf.bn, BN_NIST_384_TOP);
991 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP);
994 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP);
997 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP);
1000 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP);
1003 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_384_TOP);
1006 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_384_TOP);
1009 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_384_TOP);
1016 carry = (int)bn_sub_words(r_d,r_d,_nist_p_384[carry-1],BN_NIST_384_TOP);
1019 carry = (int)bn_add_words(r_d,r_d,_nist_p_384[-carry-1],BN_NIST_384_TOP);
1027 mask = 0-(PTR_SIZE_INT)(*u.f)(c_d,r_d,_nist_p_384[0],BN_NIST_384_TOP);
1030 ((PTR_SIZE_INT)r_d&mask));
1031 nist_cp_bn(r_d, res, BN_NIST_384_TOP);
1046 BN_ULONG *r_d, *a_d = a->d,
1074 r_d = r->d;
1075 nist_cp_bn(r_d,a_d, BN_NIST_521_TOP);
1078 r_d = a_d;
1091 r_d[i] &= BN_NIST_521_TOP_MASK;
1093 bn_add_words(r_d,r_d,t_d,BN_NIST_521_TOP);
1094 r_d,_nist_p_521,BN_NIST_521_TOP);
1096 ((PTR_SIZE_INT)r_d&mask));
1097 nist_cp_bn(r_d,res,BN_NIST_521_TOP);