Home
last modified time | relevance | path

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

/openssl/providers/implementations/keymgmt/
H A Ddsa_kmgmt.c423 gctx->gen_type = DSA_PARAMGEN_TYPE_FIPS_186_4; in dsa_gen_init()
425 gctx->gen_type = DSA_PARAMGEN_TYPE_FIPS_DEFAULT; in dsa_gen_init()
469 int gen_type = -1; in dsa_gen_set_params() local
483 || ((gen_type = dsa_gen_type_name2id(p->data)) == -1)) { in dsa_gen_set_params()
493 if (gen_type != -1) in dsa_gen_set_params()
494 gctx->gen_type = gen_type; in dsa_gen_set_params()
620 if (gctx->gen_type == DSA_PARAMGEN_TYPE_FIPS_DEFAULT) in dsa_gen()
621 gctx->gen_type = (gctx->pbits >= 2048 ? DSA_PARAMGEN_TYPE_FIPS_186_4 : in dsa_gen()
630 if (!ossl_assert((gctx->gen_type >= DSA_PARAMGEN_TYPE_FIPS_186_4) in dsa_gen()
631 && (gctx->gen_type <= DSA_PARAMGEN_TYPE_FIPS_DEFAULT))) { in dsa_gen()
[all …]
H A Ddh_kmgmt.c67 int gen_type; /* see dhtype2id */ member
467 gctx->gen_type = (type == DH_FLAG_TYPE_DHX) in dh_gen_init_base()
471 gctx->gen_type = (type == DH_FLAG_TYPE_DHX) in dh_gen_init_base()
530 int gen_type = -1; in dh_gen_common_set_params() local
540 || ((gen_type = in dh_gen_common_set_params()
545 if (gen_type != -1) in dh_gen_common_set_params()
546 gctx->gen_type = gen_type; in dh_gen_common_set_params()
713 gctx->gen_type = DH_PARAMGEN_TYPE_GROUP; in dh_gen()
721 if (!ossl_assert((gctx->gen_type >= DH_PARAMGEN_TYPE_GENERATOR) in dh_gen()
729 if (gctx->gen_type == DH_PARAMGEN_TYPE_GROUP in dh_gen()
[all …]
/openssl/crypto/x509/
H A Dv3_conf.c221 int gen_type = 0; in v3_check_generic() local
225 gen_type = 1; in v3_check_generic()
227 gen_type = 2; in v3_check_generic()
234 return gen_type; in v3_check_generic()
239 int crit, int gen_type, in v3_generic_extension() argument
254 if (gen_type == 1) in v3_generic_extension()
256 else if (gen_type == 2) in v3_generic_extension()
H A Dv3_san.c508 X509V3_CTX *ctx, int gen_type, const char *value, in a2i_GENERAL_NAME() argument
529 switch (gen_type) { in a2i_GENERAL_NAME()
589 gen->type = gen_type; in a2i_GENERAL_NAME()
/openssl/include/openssl/
H A Dx509v3.h.in624 X509V3_CTX *ctx, int gen_type,

Completed in 38 milliseconds