Lines Matching refs:ciph
200 gcry_sexp_t plain, ciph;
218 err = gcry_pk_encrypt (&ciph, plain, pub_key);
221 show_sexp ("plain:\n", ciph);
226 if (extract_cmp_data (ciph, "a", tbl[tno].m[mno].encr,
229 show_sexp ("encrypt result:\n", ciph);
232 gcry_sexp_release (ciph);
233 ciph = NULL;
242 err = gcry_sexp_build (&ciph, NULL,
253 err = gcry_pk_decrypt (&plain, ciph, sec_key);
256 show_sexp ("ciph:\n", ciph);
270 gcry_sexp_release (ciph);
271 ciph = NULL;
444 gcry_sexp_t plain, ciph;
462 err = gcry_pk_encrypt (&ciph, plain, pub_key);
465 show_sexp ("plain:\n", ciph);
470 if (extract_cmp_data (ciph, "a", tbl[tno].m[mno].encr,
473 show_sexp ("encrypt result:\n", ciph);
476 gcry_sexp_release (ciph);
477 ciph = NULL;
486 err = gcry_sexp_build (&ciph, NULL,
497 err = gcry_pk_decrypt (&plain, ciph, sec_key);
500 show_sexp ("ciph:\n", ciph);
514 gcry_sexp_release (ciph);
515 ciph = NULL;