Lines Matching refs:ciphertext
101 gcry_mpi_t ciphertext = gcry_mpi_new (nbits);
113 public (ciphertext, plaintext, &pk);
116 if (!gcry_mpi_cmp (ciphertext, plaintext))
120 secret (decr_plaintext, ciphertext, sk);
148 gcry_mpi_release (ciphertext);
1189 gcry_mpi_t ciphertext = NULL;
1215 /* Extraxt the ciphertext from the returned S-expression. */
1217 ciphertext = extract_a_from_sexp (encr);
1218 if (!ciphertext)
1224 /* Check that the ciphertext does no match the plaintext. */
1226 /* _gcry_log_mpidump ("ciphertxt", ciphertext); */
1227 if (!gcry_mpi_cmp (plaintext, ciphertext))
1229 errtxt = "ciphertext matches plaintext";
1269 gcry_mpi_release (ciphertext);