Lines Matching defs:signature
102 gcry_mpi_t signature = gcry_mpi_new (nbits);
125 /* Create another random plaintext as data for signature checking. */
128 /* Use the RSA secret function to create a signature of the plaintext. */
129 secret (signature, plaintext, sk);
131 /* Use the RSA public function to verify this signature. */
132 public (decr_plaintext, signature, &pk);
136 /* Modify the signature and check that the signing fails. */
137 gcry_mpi_add_ui (signature, signature, 1);
138 public (decr_plaintext, signature, &pk);
145 gcry_mpi_release (signature);