Lines Matching refs:key_spec
257 gcry_sexp_t key_spec, key, pub_key, sec_key;
260 rc = gcry_sexp_new (&key_spec,
264 rc = gcry_pk_genkey (&key, key_spec);
265 gcry_sexp_release (key_spec);
289 gcry_sexp_t key_spec, key, pub_key, sec_key;
292 rc = gcry_sexp_new (&key_spec,
296 rc = gcry_pk_genkey (&key, key_spec);
297 gcry_sexp_release (key_spec);
321 gcry_sexp_t key_spec, key, pub_key, sec_key;
325 (&key_spec,
333 rc = gcry_pk_genkey (&key, key_spec);
334 gcry_sexp_release (key_spec);
358 gcry_sexp_t key_spec, key, pub_key, sec_key;
361 rc = gcry_sexp_new (&key_spec,
368 rc = gcry_pk_genkey (&key, key_spec);
369 gcry_sexp_release (key_spec);
393 gcry_sexp_t key_spec, key, pub_key, sec_key;
397 (&key_spec, "(genkey (dsa (nbits 4:1024)(use-fips186)))", 0, 1);
400 rc = gcry_pk_genkey (&key, key_spec);
401 gcry_sexp_release (key_spec);
425 gcry_sexp_t key_spec, key, pub_key, sec_key;
429 (&key_spec,
443 rc = gcry_pk_genkey (&key, key_spec);
444 gcry_sexp_release (key_spec);
467 gcry_sexp_t key_spec, key, pub_key, sec_key;
471 (&key_spec,
485 rc = gcry_pk_genkey (&key, key_spec);
486 gcry_sexp_release (key_spec);
510 gcry_sexp_t key_spec, key, pub_key, sec_key;
514 (&key_spec,
525 rc = gcry_pk_genkey (&key, key_spec);
526 gcry_sexp_release (key_spec);
810 gcry_sexp_t key_spec, key, pub_key, sec_key;
816 err = gcry_sexp_new (&key_spec, testtable[what].param, 0, 1);
820 err = gcry_pk_genkey (&key, key_spec);
821 gcry_sexp_release (key_spec);