- F8B433355F471B6EA164813B4927B36D389177AF169F39E25C04B3A043DE367A88B8F07A6FE6EB92C851B9E20FA1B8EE0D1EC25E53A9F51477914F1A38EC1D5B
+ 36AA7BC45976C3792B00414443B35C0DE1C172B5D2DDF26FF62736CF8642F3D2260FD45216F075DA1024A27CED6E03004A41CC3A7508877462A7A06C11EA4339
eucrypt/mpi/mpi-bit.c
(162 . 11)(162 . 15)
5 bitno = n % BITS_PER_MPI_LIMB;
6
7 if( limbno >= a->nlimbs )
8 return; /* not allocated, so need to clear bits :-) */
9 return; /* not allocated, so no effect */
10
11 for( ; bitno < BITS_PER_MPI_LIMB; bitno++ )
12 a->d[limbno] &= ~(A_LIMB_1 << bitno);
13 a->d[limbno] &= ~(A_LIMB_1 << bitno);
14
15 /* adjust nlimbs to clear any leading zero-value limbs (normalize) */
16 a->nlimbs = limbno+1;
17 for( ; a->nlimbs && !a->d[a->nlimbs-1]; a->nlimbs-- );
18
19 }
20
21 /****************