Lines Matching defs:sec_key
750 gcry_sexp_t key_spec, key_pair, pub_key, sec_key;
776 sec_key = gcry_sexp_find_token (key_pair, "private-key", 0);
777 if (! sec_key)
798 err = gcry_pk_sign (&sig, data, sec_key);
813 show_sexp ("seckey:\n", sec_key);
837 err = gcry_pk_sign (&sig, data, sec_key);
851 gcry_sexp_release (sec_key);
862 gcry_sexp_t pub_key[3], sec_key[3];
872 err = gcry_sexp_sscan (sec_key+0, NULL, sample_private_dsa_key_1024,
878 err = gcry_sexp_sscan (sec_key+1, NULL, sample_private_dsa_key_2048,
884 err = gcry_sexp_sscan (sec_key+2, NULL, sample_private_dsa_key_3072,
918 err = gcry_pk_sign (&sig, data, sec_key[i]);
954 gcry_sexp_release (sec_key[i]);
974 gcry_sexp_t key_spec, key_pair, pub_key, sec_key;
997 sec_key = gcry_sexp_find_token (key_pair, "private-key", 0);
998 if (! sec_key)
1018 err = gcry_pk_sign (&sig, data, sec_key);
1033 show_sexp ("seckey:\n", sec_key);
1045 gcry_sexp_release (sec_key);