Searched refs:phi (Results 1 - 3 of 3) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libgcrypt-1.5.0/tests/
H A Drsacvt.c221 gcry_mpi_t phi, tmp_g, tmp_f; local
229 phi = gcry_mpi_new (0);
243 /* Compute the Euler totient: phi = (p-1)(q-1) */
246 gcry_mpi_mul (phi, rsa_pm1, rsa_qm1);
248 if (!gcry_mpi_gcd (tmp_g, rsa_e, phi))
251 /* Compute: f = lcm(p-1,q-1) = phi / gcd(p-1,q-1) */
253 gcry_mpi_div (tmp_f, NULL, phi, tmp_g, -1);
269 gcry_mpi_release (phi);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/
H A Drsa.c191 gcry_mpi_t phi; /* helper: (p-1)(q-1) */
262 /* calculate Euler totient: phi = (p-1)(q-1) */
265 phi = gcry_mpi_snew ( nbits );
270 mpi_mul( phi, t1, t2 );
272 mpi_fdiv_q(f, phi, g);
274 while (!gcry_mpi_gcd(t1, e, phi)) /* (while gcd is not 1) */
282 /* calculate the secret key d = e^1 mod phi */
293 log_mpidump("phi= ", phi );
304 gcry_mpi_release (phi);
190 gcry_mpi_t phi; /* helper: (p-1)(q-1) */ local
386 gcry_mpi_t phi; /* Euler totient. */ local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/editors/
H A Dawk.c625 hash_item *hi, **phi; local
627 phi = &(hash->items[hashidx(name) % hash->csize]);
628 while (*phi) {
629 hi = *phi;
633 *phi = hi->next;
637 phi = &(hi->next);

Completed in 162 milliseconds