mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
edit-key is now complete
This commit is contained in:
parent
1a80de41a5
commit
5ae562b41d
48 changed files with 2044 additions and 984 deletions
|
@ -49,7 +49,7 @@ g10m_release( MPI a )
|
|||
void
|
||||
g10m_resize( MPI a, unsigned nbits )
|
||||
{
|
||||
return mpi_resize( a, (nbits+BITS_PER_MPI_LIMB-1) / BITS_PER_MPI_LIMB );
|
||||
mpi_resize( a, (nbits+BITS_PER_MPI_LIMB-1) / BITS_PER_MPI_LIMB );
|
||||
}
|
||||
|
||||
MPI g10m_copy( MPI a ) { return mpi_copy( a ); }
|
||||
|
|
|
@ -120,6 +120,7 @@ mpi_invm( MPI x, MPI a, MPI n )
|
|||
mpi_rshift(t2, t2, 1);
|
||||
mpi_rshift(t3, t3, 1);
|
||||
Y4:
|
||||
;
|
||||
} while( !mpi_test_bit( t3, 0 ) ); /* while t3 is even */
|
||||
|
||||
if( !t3->sign ) {
|
||||
|
@ -216,6 +217,7 @@ mpi_invm( MPI x, MPI a, MPI n )
|
|||
mpi_rshift(t3, t3, 1);
|
||||
}
|
||||
Y4:
|
||||
;
|
||||
} while( !mpi_test_bit( t3, 0 ) ); /* while t3 is even */
|
||||
|
||||
if( !t3->sign ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue