Lines Matching refs:input
89 static void public (gcry_mpi_t output, gcry_mpi_t input, RSA_public_key *skey);
90 static void secret (gcry_mpi_t output, gcry_mpi_t input, RSA_secret_key *skey);
600 public(gcry_mpi_t output, gcry_mpi_t input, RSA_public_key *pkey )
602 if( output == input ) /* powm doesn't like output and input the same */
604 gcry_mpi_t x = mpi_alloc( mpi_get_nlimbs(input)*2 );
605 mpi_powm( x, input, pkey->e, pkey->n );
610 mpi_powm( output, input, pkey->e, pkey->n );
693 secret(gcry_mpi_t output, gcry_mpi_t input, RSA_secret_key *skey )
697 mpi_powm (output, input, skey->d, skey->n);
708 mpi_powm( m1, input, h, skey->p );
712 mpi_powm( m2, input, h, skey->q );