comparison libtommath/bn_fast_s_mp_mul_digs.c @ 1610:96e4c9b2cc00 coverity

merge coverity
author Matt Johnston <matt@ucc.asn.au>
date Wed, 21 Mar 2018 00:52:02 +0800
parents c8c20fb57a9a
children f52919ffd3b1
comparison
equal deleted inserted replaced
1580:7f2be495dff6 1610:96e4c9b2cc00
85 c->used = pa; 85 c->used = pa;
86 86
87 { 87 {
88 mp_digit *tmpc; 88 mp_digit *tmpc;
89 tmpc = c->dp; 89 tmpc = c->dp;
90 for (ix = 0; ix < (pa + 1); ix++) { 90 for (ix = 0; ix < pa; ix++) {
91 /* now extract the previous digit [below the carry] */ 91 /* now extract the previous digit [below the carry] */
92 *tmpc++ = W[ix]; 92 *tmpc++ = W[ix];
93 } 93 }
94 94
95 /* clear unused digits [that existed in the old copy of c] */ 95 /* clear unused digits [that existed in the old copy of c] */