Lines Matching defs:sec_key
230 gcry_sexp_t pub_key, sec_key;
246 rc = gcry_sexp_sscan (&sec_key, NULL, secret, strlen (secret));
251 *skey = sec_key;
257 gcry_sexp_t key_spec, key, pub_key, sec_key;
276 sec_key = gcry_sexp_find_token (key, "private-key", 0);
277 if (! sec_key)
282 *skey = sec_key;
289 gcry_sexp_t key_spec, key, pub_key, sec_key;
308 sec_key = gcry_sexp_find_token (key, "private-key", 0);
309 if (!sec_key)
314 *skey = sec_key;
321 gcry_sexp_t key_spec, key, pub_key, sec_key;
345 sec_key = gcry_sexp_find_token (key, "private-key", 0);
346 if (!sec_key)
351 *skey = sec_key;
358 gcry_sexp_t key_spec, key, pub_key, sec_key;
380 sec_key = gcry_sexp_find_token (key, "private-key", 0);
381 if (!sec_key)
386 *skey = sec_key;
393 gcry_sexp_t key_spec, key, pub_key, sec_key;
412 sec_key = gcry_sexp_find_token (key, "private-key", 0);
413 if (!sec_key)
418 *skey = sec_key;
425 gcry_sexp_t key_spec, key, pub_key, sec_key;
455 sec_key = gcry_sexp_find_token (key, "private-key", 0);
456 if (!sec_key)
461 *skey = sec_key;
467 gcry_sexp_t key_spec, key, pub_key, sec_key;
497 sec_key = gcry_sexp_find_token (key, "private-key", 0);
498 if (!sec_key)
503 *skey = sec_key;
510 gcry_sexp_t key_spec, key, pub_key, sec_key;
537 sec_key = gcry_sexp_find_token (key, "private-key", 0);
538 if (!sec_key)
543 *skey = sec_key;
810 gcry_sexp_t key_spec, key, pub_key, sec_key;
829 sec_key = gcry_sexp_find_token (key, "private-key", 0);
830 if (!sec_key)
841 d_have = key_param_from_sexp (sec_key, "rsa", "d");
846 show_sexp (NULL, sec_key);
854 gcry_sexp_release (sec_key);