Lines Matching defs:Ra
51 static gcry_mpi_t p, Ra;
182 Ra = gcry_mpi_new(0);
193 /* Generate our random number Ra. */
200 gcry_mpi_scan(&Ra, GCRYMPI_FMT_USG, Ra_binary, PRIMEBITS/8, NULL);
204 /* Ma = g^Ra mod p. This is our "public" key */
205 gcry_mpi_powm(Ma, g, Ra, p);
249 /* We will only need p and Ra later, but mustn't forget to release it ! */
376 /* Now finally generate the Key: K = Mb^Ra mod p */
377 gcry_mpi_powm(K, Mb, Ra, p);
478 gcry_mpi_release(Ra);