Lines Matching refs:pkey
39 gcry_mpi_t *data, gcry_mpi_t *pkey,
133 gcry_mpi_t *pkey, int flags)
138 (void)pkey;
171 gcry_mpi_t *pkey,
177 (void)pkey;
185 dummy_get_nbits (int algorithm, gcry_mpi_t *pkey)
188 (void)pkey;
609 gcry_mpi_t *pkey, int flags)
623 log_mpidump (" pkey:", pkey[i]);
632 rc = pubkey->encrypt (algorithm, resarr, data, pkey, flags);
749 gcry_mpi_t *pkey,
761 log_mpidump (" pkey:", pkey[i]);
772 rc = pubkey->verify (algorithm, hash, data, pkey, cmp, opaquev);
1569 Caller has to provide a public key as the SEXP pkey and data as a
1591 gcry_mpi_t *pkey = NULL, data = NULL, *ciph = NULL;
1603 rc = sexp_to_key (s_pkey, 0, &pkey, &module);
1634 rc = pubkey_encrypt (module->mod_id, ciph, data, pkey, flags);
1687 if (pkey)
1689 release_mpi_array (pkey);
1690 gcry_free (pkey);
1938 Caller has to supply the public key pkey, the signature sig and his
1946 gcry_mpi_t *pkey = NULL, hash = NULL, *sig = NULL;
1951 rc = sexp_to_key (s_pkey, 0, &pkey, &module_key);
1972 rc = pubkey_verify (module_key->mod_id, hash, sig, pkey, NULL, NULL);
1975 if (pkey)
1977 release_mpi_array (pkey);
1978 gcry_free (pkey);