Lines Matching refs:key_pair
750 gcry_sexp_t key_spec, key_pair, pub_key, sec_key;
768 err = gcry_pk_genkey (&key_pair, key_spec);
773 pub_key = gcry_sexp_find_token (key_pair, "public-key", 0);
776 sec_key = gcry_sexp_find_token (key_pair, "private-key", 0);
779 gcry_sexp_release (key_pair);
974 gcry_sexp_t key_spec, key_pair, pub_key, sec_key;
989 err = gcry_pk_genkey (&key_pair, key_spec);
994 pub_key = gcry_sexp_find_token (key_pair, "public-key", 0);
997 sec_key = gcry_sexp_find_token (key_pair, "private-key", 0);
1000 gcry_sexp_release (key_pair);