Lines Matching defs: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);
1201 gcry_mpi_t ciphertext = NULL;
1227 /* Extraxt the ciphertext from the returned S-expression. */
1229 ciphertext = extract_a_from_sexp (encr);
1230 if (!ciphertext)
1236 /* Check that the ciphertext does no match the plaintext. */
1238 /* _gcry_log_mpidump ("ciphertxt", ciphertext); */
1239 if (!gcry_mpi_cmp (plaintext, ciphertext))
1241 errtxt = "ciphertext matches plaintext";
1281 gcry_mpi_release (ciphertext);