Lines Matching refs:hash
37 gcry_mpi_t hash, gcry_mpi_t *skey);
38 static gcry_err_code_t pubkey_verify (int algo, gcry_mpi_t hash,
170 dummy_verify (int algorithm, gcry_mpi_t hash, gcry_mpi_t *data,
175 (void)hash;
748 pubkey_verify (int algorithm, gcry_mpi_t hash, gcry_mpi_t *data,
764 log_mpidump (" hash:", hash);
772 rc = pubkey->verify (algorithm, hash, data, pkey, cmp, opaquev);
1290 /* Take the hash value and convert into an MPI, suitable for
1300 [(hash <algo> <value>)]
1360 lhash = gcry_sexp_find_token (ldata, "hash", 0);
1484 /* In case of not listed or dynamically allocated hash
1804 expressed as a SEXP list hash with only one element which should
1824 [(hash algo)])
1826 Note that (hash algo) in R_SIG is not used.
1831 gcry_mpi_t *skey = NULL, hash = NULL, *result = NULL;
1857 &hash, 0, NULL);
1867 rc = pubkey_sign (module->mod_id, result, hash, skey);
1922 if (hash)
1923 mpi_free (hash);
1946 gcry_mpi_t *pkey = NULL, hash = NULL, *sig = NULL;
1968 rc = sexp_data_to_mpi (s_hash, gcry_pk_get_nbits (s_pkey), &hash, 0, 0);
1972 rc = pubkey_verify (module_key->mod_id, hash, sig, pkey, NULL, NULL);
1985 if (hash)
1986 mpi_free (hash);
2359 /* Return the so called KEYGRIP which is the SHA-1 hash of the public