/third_party/openssl/crypto/ffc/ |
D | ffc_params.c | 212 int ossl_ffc_params_todata(const FFC_PARAMS *ffc, OSSL_PARAM_BLD *bld, in ossl_ffc_params_todata() argument 217 if (ffc == NULL) in ossl_ffc_params_todata() 220 if (ffc->p != NULL in ossl_ffc_params_todata() 221 && !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_FFC_P, ffc->p)) in ossl_ffc_params_todata() 223 if (ffc->q != NULL in ossl_ffc_params_todata() 224 && !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_FFC_Q, ffc->q)) in ossl_ffc_params_todata() 226 if (ffc->g != NULL in ossl_ffc_params_todata() 227 && !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_FFC_G, ffc->g)) in ossl_ffc_params_todata() 229 if (ffc->j != NULL in ossl_ffc_params_todata() 231 ffc->j)) in ossl_ffc_params_todata() [all …]
|
D | ffc_backend.c | 20 int ossl_ffc_params_fromdata(FFC_PARAMS *ffc, const OSSL_PARAM params[]) in ossl_ffc_params_fromdata() argument 27 if (ffc == NULL) in ossl_ffc_params_fromdata() 42 || !ossl_ffc_named_group_set(ffc, group)) in ossl_ffc_params_fromdata() 60 ffc->gindex = i; in ossl_ffc_params_fromdata() 66 ffc->pcounter = i; in ossl_ffc_params_fromdata() 75 ffc->h = i; in ossl_ffc_params_fromdata() 81 if (!ossl_ffc_params_set_seed(ffc, prm->data, prm->data_size)) in ossl_ffc_params_fromdata() 88 ossl_ffc_params_enable_flags(ffc, FFC_PARAM_FLAG_VALIDATE_PQ, i); in ossl_ffc_params_fromdata() 94 ossl_ffc_params_enable_flags(ffc, FFC_PARAM_FLAG_VALIDATE_G, i); in ossl_ffc_params_fromdata() 100 ossl_ffc_params_enable_flags(ffc, FFC_PARAM_FLAG_VALIDATE_LEGACY, i); in ossl_ffc_params_fromdata() [all …]
|
D | ffc_dh.c | 160 int ossl_ffc_named_group_set(FFC_PARAMS *ffc, const DH_NAMED_GROUP *group) in ossl_ffc_named_group_set() argument 162 if (ffc == NULL || group == NULL) in ossl_ffc_named_group_set() 165 ossl_ffc_params_set0_pqg(ffc, (BIGNUM *)group->p, (BIGNUM *)group->q, in ossl_ffc_named_group_set() 167 ffc->keylength = group->keylength; in ossl_ffc_named_group_set() 170 ffc->nid = NID_undef; in ossl_ffc_named_group_set()
|
/third_party/node/deps/openssl/openssl/crypto/ffc/ |
D | ffc_params.c | 212 int ossl_ffc_params_todata(const FFC_PARAMS *ffc, OSSL_PARAM_BLD *bld, in ossl_ffc_params_todata() argument 217 if (ffc == NULL) in ossl_ffc_params_todata() 220 if (ffc->p != NULL in ossl_ffc_params_todata() 221 && !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_FFC_P, ffc->p)) in ossl_ffc_params_todata() 223 if (ffc->q != NULL in ossl_ffc_params_todata() 224 && !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_FFC_Q, ffc->q)) in ossl_ffc_params_todata() 226 if (ffc->g != NULL in ossl_ffc_params_todata() 227 && !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_FFC_G, ffc->g)) in ossl_ffc_params_todata() 229 if (ffc->j != NULL in ossl_ffc_params_todata() 231 ffc->j)) in ossl_ffc_params_todata() [all …]
|
D | ffc_backend.c | 20 int ossl_ffc_params_fromdata(FFC_PARAMS *ffc, const OSSL_PARAM params[]) in ossl_ffc_params_fromdata() argument 27 if (ffc == NULL) in ossl_ffc_params_fromdata() 42 || !ossl_ffc_named_group_set(ffc, group)) in ossl_ffc_params_fromdata() 60 ffc->gindex = i; in ossl_ffc_params_fromdata() 66 ffc->pcounter = i; in ossl_ffc_params_fromdata() 75 ffc->h = i; in ossl_ffc_params_fromdata() 81 if (!ossl_ffc_params_set_seed(ffc, prm->data, prm->data_size)) in ossl_ffc_params_fromdata() 88 ossl_ffc_params_enable_flags(ffc, FFC_PARAM_FLAG_VALIDATE_PQ, i); in ossl_ffc_params_fromdata() 94 ossl_ffc_params_enable_flags(ffc, FFC_PARAM_FLAG_VALIDATE_G, i); in ossl_ffc_params_fromdata() 100 ossl_ffc_params_enable_flags(ffc, FFC_PARAM_FLAG_VALIDATE_LEGACY, i); in ossl_ffc_params_fromdata() [all …]
|
D | ffc_dh.c | 160 int ossl_ffc_named_group_set(FFC_PARAMS *ffc, const DH_NAMED_GROUP *group) in ossl_ffc_named_group_set() argument 162 if (ffc == NULL || group == NULL) in ossl_ffc_named_group_set() 165 ossl_ffc_params_set0_pqg(ffc, (BIGNUM *)group->p, (BIGNUM *)group->q, in ossl_ffc_named_group_set() 167 ffc->keylength = group->keylength; in ossl_ffc_named_group_set() 170 ffc->nid = NID_undef; in ossl_ffc_named_group_set()
|
/third_party/openssl/providers/implementations/encode_decode/ |
D | encode_key2text.c | 161 static int ffc_params_to_text(BIO *out, const FFC_PARAMS *ffc) in ffc_params_to_text() argument 163 if (ffc->nid != NID_undef) { in ffc_params_to_text() 165 const DH_NAMED_GROUP *group = ossl_ffc_uid_to_dh_named_group(ffc->nid); in ffc_params_to_text() 179 if (!print_labeled_bignum(out, "P: ", ffc->p)) in ffc_params_to_text() 181 if (ffc->q != NULL) { in ffc_params_to_text() 182 if (!print_labeled_bignum(out, "Q: ", ffc->q)) in ffc_params_to_text() 185 if (!print_labeled_bignum(out, "G: ", ffc->g)) in ffc_params_to_text() 187 if (ffc->j != NULL) { in ffc_params_to_text() 188 if (!print_labeled_bignum(out, "J: ", ffc->j)) in ffc_params_to_text() 191 if (ffc->seed != NULL) { in ffc_params_to_text() [all …]
|
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/ |
D | encode_key2text.c | 161 static int ffc_params_to_text(BIO *out, const FFC_PARAMS *ffc) in ffc_params_to_text() argument 163 if (ffc->nid != NID_undef) { in ffc_params_to_text() 165 const DH_NAMED_GROUP *group = ossl_ffc_uid_to_dh_named_group(ffc->nid); in ffc_params_to_text() 179 if (!print_labeled_bignum(out, "P: ", ffc->p)) in ffc_params_to_text() 181 if (ffc->q != NULL) { in ffc_params_to_text() 182 if (!print_labeled_bignum(out, "Q: ", ffc->q)) in ffc_params_to_text() 185 if (!print_labeled_bignum(out, "G: ", ffc->g)) in ffc_params_to_text() 187 if (ffc->j != NULL) { in ffc_params_to_text() 188 if (!print_labeled_bignum(out, "J: ", ffc->j)) in ffc_params_to_text() 191 if (ffc->seed != NULL) { in ffc_params_to_text() [all …]
|
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
D | dsa_kmgmt.c | 556 FFC_PARAMS *ffc; in dsa_gen() local 574 ffc = ossl_dsa_get0_params(dsa); in dsa_gen() 577 && !ossl_ffc_params_copy(ffc, gctx->ffc_params)) in dsa_gen() 581 && !ossl_ffc_params_set_seed(ffc, gctx->seed, gctx->seedlen)) in dsa_gen() 584 ossl_ffc_params_set_gindex(ffc, gctx->gindex); in dsa_gen() 586 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dsa_gen() 588 ossl_ffc_params_set_h(ffc, gctx->hindex); in dsa_gen() 591 if (!ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops)) in dsa_gen() 601 ossl_ffc_params_enable_flags(ffc, FFC_PARAM_FLAG_VALIDATE_LEGACY, in dsa_gen() 604 if (ffc->p == NULL in dsa_gen() [all …]
|
D | dh_kmgmt.c | 693 FFC_PARAMS *ffc; in dh_gen() local 717 ffc = ossl_dh_get0_params(dh); in dh_gen() 722 ffc = ossl_dh_get0_params(dh); in dh_gen() 726 && !ossl_ffc_params_copy(ffc, gctx->ffc_params)) in dh_gen() 729 if (!ossl_ffc_params_set_seed(ffc, gctx->seed, gctx->seedlen)) in dh_gen() 732 ossl_ffc_params_set_gindex(ffc, gctx->gindex); in dh_gen() 734 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dh_gen() 736 ossl_ffc_params_set_h(ffc, gctx->hindex); in dh_gen() 739 if (!ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops)) in dh_gen() 767 if (ffc->p == NULL || ffc->g == NULL) in dh_gen() [all …]
|
/third_party/openssl/providers/implementations/keymgmt/ |
D | dsa_kmgmt.c | 556 FFC_PARAMS *ffc; in dsa_gen() local 574 ffc = ossl_dsa_get0_params(dsa); in dsa_gen() 577 && !ossl_ffc_params_copy(ffc, gctx->ffc_params)) in dsa_gen() 581 && !ossl_ffc_params_set_seed(ffc, gctx->seed, gctx->seedlen)) in dsa_gen() 584 ossl_ffc_params_set_gindex(ffc, gctx->gindex); in dsa_gen() 586 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dsa_gen() 588 ossl_ffc_params_set_h(ffc, gctx->hindex); in dsa_gen() 591 if (!ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops)) in dsa_gen() 601 ossl_ffc_params_enable_flags(ffc, FFC_PARAM_FLAG_VALIDATE_LEGACY, in dsa_gen() 604 if (ffc->p == NULL in dsa_gen() [all …]
|
D | dh_kmgmt.c | 693 FFC_PARAMS *ffc; in dh_gen() local 717 ffc = ossl_dh_get0_params(dh); in dh_gen() 722 ffc = ossl_dh_get0_params(dh); in dh_gen() 726 && !ossl_ffc_params_copy(ffc, gctx->ffc_params)) in dh_gen() 729 if (!ossl_ffc_params_set_seed(ffc, gctx->seed, gctx->seedlen)) in dh_gen() 732 ossl_ffc_params_set_gindex(ffc, gctx->gindex); in dh_gen() 734 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dh_gen() 736 ossl_ffc_params_set_h(ffc, gctx->hindex); in dh_gen() 739 if (!ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops)) in dh_gen() 767 if (ffc->p == NULL || ffc->g == NULL) in dh_gen() [all …]
|
/third_party/node/deps/openssl/openssl/include/internal/ |
D | ffc.h | 148 int ossl_ffc_params_print(BIO *bp, const FFC_PARAMS *ffc, int indent); 196 int ossl_ffc_params_todata(const FFC_PARAMS *ffc, OSSL_PARAM_BLD *tmpl, 198 int ossl_ffc_params_fromdata(FFC_PARAMS *ffc, const OSSL_PARAM params[]); 213 int ossl_ffc_named_group_set(FFC_PARAMS *ffc, const DH_NAMED_GROUP *group);
|
/third_party/openssl/include/internal/ |
D | ffc.h | 148 int ossl_ffc_params_print(BIO *bp, const FFC_PARAMS *ffc, int indent); 196 int ossl_ffc_params_todata(const FFC_PARAMS *ffc, OSSL_PARAM_BLD *tmpl, 198 int ossl_ffc_params_fromdata(FFC_PARAMS *ffc, const OSSL_PARAM params[]); 213 int ossl_ffc_named_group_set(FFC_PARAMS *ffc, const DH_NAMED_GROUP *group);
|
/third_party/node/deps/openssl/openssl/crypto/dh/ |
D | dh_backend.c | 34 FFC_PARAMS *ffc; in dh_ffc_params_fromdata() local 38 ffc = ossl_dh_get0_params(dh); in dh_ffc_params_fromdata() 39 if (ffc == NULL) in dh_ffc_params_fromdata() 42 ret = ossl_ffc_params_fromdata(ffc, params); in dh_ffc_params_fromdata()
|
/third_party/openssl/crypto/dh/ |
D | dh_backend.c | 34 FFC_PARAMS *ffc; in dh_ffc_params_fromdata() local 38 ffc = ossl_dh_get0_params(dh); in dh_ffc_params_fromdata() 39 if (ffc == NULL) in dh_ffc_params_fromdata() 42 ret = ossl_ffc_params_fromdata(ffc, params); in dh_ffc_params_fromdata()
|
/third_party/openssl/crypto/dsa/ |
D | dsa_lib.c | 350 FFC_PARAMS *ffc; in ossl_dsa_ffc_params_fromdata() local 354 ffc = ossl_dsa_get0_params(dsa); in ossl_dsa_ffc_params_fromdata() 355 if (ffc == NULL) in ossl_dsa_ffc_params_fromdata() 358 ret = ossl_ffc_params_fromdata(ffc, params); in ossl_dsa_ffc_params_fromdata()
|
/third_party/node/deps/openssl/openssl/crypto/dsa/ |
D | dsa_lib.c | 350 FFC_PARAMS *ffc; in ossl_dsa_ffc_params_fromdata() local 354 ffc = ossl_dsa_get0_params(dsa); in ossl_dsa_ffc_params_fromdata() 355 if (ffc == NULL) in ossl_dsa_ffc_params_fromdata() 358 ret = ossl_ffc_params_fromdata(ffc, params); in ossl_dsa_ffc_params_fromdata()
|
/third_party/node/deps/openssl/config/archs/linux-armv4/no-asm/ |
D | openssl-fips.gypi | 111 'openssl/crypto/ffc/ffc_backend.c', 112 'openssl/crypto/ffc/ffc_dh.c', 113 'openssl/crypto/ffc/ffc_key_generate.c', 114 'openssl/crypto/ffc/ffc_key_validate.c', 115 'openssl/crypto/ffc/ffc_params.c', 116 'openssl/crypto/ffc/ffc_params_generate.c', 117 'openssl/crypto/ffc/ffc_params_validate.c',
|
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/ |
D | openssl-fips.gypi | 111 'openssl/crypto/ffc/ffc_backend.c', 112 'openssl/crypto/ffc/ffc_dh.c', 113 'openssl/crypto/ffc/ffc_key_generate.c', 114 'openssl/crypto/ffc/ffc_key_validate.c', 115 'openssl/crypto/ffc/ffc_params.c', 116 'openssl/crypto/ffc/ffc_params_generate.c', 117 'openssl/crypto/ffc/ffc_params_validate.c',
|
/third_party/node/deps/openssl/config/archs/linux64-s390x/no-asm/ |
D | openssl-fips.gypi | 111 'openssl/crypto/ffc/ffc_backend.c', 112 'openssl/crypto/ffc/ffc_dh.c', 113 'openssl/crypto/ffc/ffc_key_generate.c', 114 'openssl/crypto/ffc/ffc_key_validate.c', 115 'openssl/crypto/ffc/ffc_params.c', 116 'openssl/crypto/ffc/ffc_params_generate.c', 117 'openssl/crypto/ffc/ffc_params_validate.c',
|
/third_party/node/deps/openssl/config/archs/BSD-x86/no-asm/ |
D | openssl-fips.gypi | 111 'openssl/crypto/ffc/ffc_backend.c', 112 'openssl/crypto/ffc/ffc_dh.c', 113 'openssl/crypto/ffc/ffc_key_generate.c', 114 'openssl/crypto/ffc/ffc_key_validate.c', 115 'openssl/crypto/ffc/ffc_params.c', 116 'openssl/crypto/ffc/ffc_params_generate.c', 117 'openssl/crypto/ffc/ffc_params_validate.c',
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/ |
D | openssl-fips.gypi | 111 'openssl/crypto/ffc/ffc_backend.c', 112 'openssl/crypto/ffc/ffc_dh.c', 113 'openssl/crypto/ffc/ffc_key_generate.c', 114 'openssl/crypto/ffc/ffc_key_validate.c', 115 'openssl/crypto/ffc/ffc_params.c', 116 'openssl/crypto/ffc/ffc_params_generate.c', 117 'openssl/crypto/ffc/ffc_params_validate.c',
|
/third_party/node/deps/openssl/config/archs/aix64-gcc-as/no-asm/ |
D | openssl-fips.gypi | 111 'openssl/crypto/ffc/ffc_backend.c', 112 'openssl/crypto/ffc/ffc_dh.c', 113 'openssl/crypto/ffc/ffc_key_generate.c', 114 'openssl/crypto/ffc/ffc_key_validate.c', 115 'openssl/crypto/ffc/ffc_params.c', 116 'openssl/crypto/ffc/ffc_params_generate.c', 117 'openssl/crypto/ffc/ffc_params_validate.c',
|
/third_party/node/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/ |
D | openssl-fips.gypi | 111 'openssl/crypto/ffc/ffc_backend.c', 112 'openssl/crypto/ffc/ffc_dh.c', 113 'openssl/crypto/ffc/ffc_key_generate.c', 114 'openssl/crypto/ffc/ffc_key_validate.c', 115 'openssl/crypto/ffc/ffc_params.c', 116 'openssl/crypto/ffc/ffc_params_generate.c', 117 'openssl/crypto/ffc/ffc_params_validate.c',
|