Home
last modified time | relevance | path

Searched refs:gen_type (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Ddsa_kmgmt.c63 int gen_type; /* DSA_PARAMGEN_TYPE_FIPS_186_2 or DSA_PARAMGEN_TYPE_FIPS_186_4 */ member
420 gctx->gen_type = DSA_PARAMGEN_TYPE_FIPS_186_4; in dsa_gen_init()
422 gctx->gen_type = DSA_PARAMGEN_TYPE_FIPS_DEFAULT; in dsa_gen_init()
475 || ((gctx->gen_type = dsa_gen_type_name2id(p->data)) == -1)) { in dsa_gen_set_params()
567 if (gctx->gen_type == DSA_PARAMGEN_TYPE_FIPS_DEFAULT) in dsa_gen()
568 gctx->gen_type = (gctx->pbits >= 2048 ? DSA_PARAMGEN_TYPE_FIPS_186_4 : in dsa_gen()
599 if (ossl_dsa_generate_ffc_parameters(dsa, gctx->gen_type, in dsa_gen()
605 gctx->gen_type == DSA_PARAMGEN_TYPE_FIPS_186_2); in dsa_gen()
H A Ddh_kmgmt.c66 int gen_type; /* see dhtype2id */ member
464 gctx->gen_type = (type == DH_FLAG_TYPE_DHX) in dh_gen_init_base()
468 gctx->gen_type = (type == DH_FLAG_TYPE_DHX) in dh_gen_init_base()
536 || ((gctx->gen_type = in dh_gen_common_set_params()
707 gctx->gen_type = DH_PARAMGEN_TYPE_GROUP; in dh_gen()
710 if (gctx->gen_type == DH_PARAMGEN_TYPE_GROUP in dh_gen()
757 if (gctx->gen_type == DH_PARAMGEN_TYPE_GENERATOR) in dh_gen()
761 ret = ossl_dh_generate_ffc_parameters(dh, gctx->gen_type, in dh_gen()
775 gctx->gen_type == DH_PARAMGEN_TYPE_FIPS_186_2); in dh_gen()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_conf.c215 int gen_type = 0; in v3_check_generic() local
220 gen_type = 1; in v3_check_generic()
223 gen_type = 2; in v3_check_generic()
230 return gen_type; in v3_check_generic()
235 int crit, int gen_type, in v3_generic_extension() argument
250 if (gen_type == 1) in v3_generic_extension()
252 else if (gen_type == 2) in v3_generic_extension()
H A Dv3_san.c510 X509V3_CTX *ctx, int gen_type, const char *value, in a2i_GENERAL_NAME() argument
531 switch (gen_type) { in a2i_GENERAL_NAME()
591 gen->type = gen_type; in a2i_GENERAL_NAME()
/freebsd/crypto/openssl/include/openssl/
H A Dx509v3.h.in610 X509V3_CTX *ctx, int gen_type,
H A Dx509v3.h874 X509V3_CTX *ctx, int gen_type,