Searched refs:gen_type (Results 1 – 6 of 6) sorted by relevance
/freebsd/crypto/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 63 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 D | dh_kmgmt.c | 66 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 D | v3_conf.c | 215 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 D | v3_san.c | 510 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 D | x509v3.h.in | 610 X509V3_CTX *ctx, int gen_type,
|
H A D | x509v3.h | 874 X509V3_CTX *ctx, int gen_type,
|