Searched refs:gen_type (Results 1 – 6 of 6) sorted by relevance
| /src/crypto/openssl/providers/implementations/keymgmt/ |
| H A D | dsa_kmgmt.c | 66 int gen_type; /* DSA_PARAMGEN_TYPE_FIPS_186_2 or DSA_PARAMGEN_TYPE_FIPS_186_4 */ member 421 gctx->gen_type = DSA_PARAMGEN_TYPE_FIPS_186_4; in dsa_gen_init() 423 gctx->gen_type = DSA_PARAMGEN_TYPE_FIPS_DEFAULT; in dsa_gen_init() 467 int gen_type = -1; in dsa_gen_set_params() local 481 || ((gen_type = dsa_gen_type_name2id(p->data)) == -1)) { in dsa_gen_set_params() 491 if (gen_type != -1) in dsa_gen_set_params() 492 gctx->gen_type = gen_type; in dsa_gen_set_params() 618 if (gctx->gen_type == DSA_PARAMGEN_TYPE_FIPS_DEFAULT) in dsa_gen() 619 …gctx->gen_type = (gctx->pbits >= 2048 ? DSA_PARAMGEN_TYPE_FIPS_186_4 : DSA_PARAMGEN_TYPE_FIPS_186_… in dsa_gen() 627 if (!ossl_assert((gctx->gen_type >= DSA_PARAMGEN_TYPE_FIPS_186_4) in dsa_gen() [all …]
|
| H A D | dh_kmgmt.c | 69 int gen_type; /* see dhtype2id */ member 466 gctx->gen_type = (type == DH_FLAG_TYPE_DHX) in dh_gen_init_base() 470 gctx->gen_type = (type == DH_FLAG_TYPE_DHX) in dh_gen_init_base() 529 int gen_type = -1; in dh_gen_common_set_params() local 539 || ((gen_type = dh_gen_type_name2id_w_default(p->data, gctx->dh_type)) == -1)) { in dh_gen_common_set_params() 543 if (gen_type != -1) in dh_gen_common_set_params() 544 gctx->gen_type = gen_type; in dh_gen_common_set_params() 711 gctx->gen_type = DH_PARAMGEN_TYPE_GROUP; in dh_gen() 719 if (!ossl_assert((gctx->gen_type >= DH_PARAMGEN_TYPE_GENERATOR) in dh_gen() 720 && (gctx->gen_type <= DH_PARAMGEN_TYPE_GROUP))) { in dh_gen() [all …]
|
| /src/crypto/openssl/crypto/x509/ |
| H A D | v3_conf.c | 218 int gen_type = 0; in v3_check_generic() local 222 gen_type = 1; in v3_check_generic() 224 gen_type = 2; in v3_check_generic() 231 return gen_type; in v3_check_generic() 236 int crit, int gen_type, in v3_generic_extension() argument 251 if (gen_type == 1) in v3_generic_extension() 253 else if (gen_type == 2) in v3_generic_extension()
|
| H A D | v3_san.c | 505 X509V3_CTX *ctx, int gen_type, const char *value, in a2i_GENERAL_NAME() argument 526 switch (gen_type) { in a2i_GENERAL_NAME() 582 gen->type = gen_type; in a2i_GENERAL_NAME()
|
| /src/crypto/openssl/include/openssl/ |
| H A D | x509v3.h.in | 645 X509V3_CTX *ctx, int gen_type,
|
| H A D | x509v3.h | 909 X509V3_CTX *ctx, int gen_type,
|