/openssl/crypto/ffc/ |
H A D | ffc_params.c | 221 if (ffc->p != NULL in ossl_ffc_params_todata() 224 if (ffc->q != NULL in ossl_ffc_params_todata() 227 if (ffc->g != NULL in ossl_ffc_params_todata() 230 if (ffc->j != NULL in ossl_ffc_params_todata() 242 if (ffc->seed != NULL in ossl_ffc_params_todata() 245 ffc->seed, ffc->seedlen)) in ossl_ffc_params_todata() 271 if (ffc->mdname != NULL in ossl_ffc_params_todata() 276 if (ffc->mdprops != NULL in ossl_ffc_params_todata() 291 if (ffc->q != NULL in ossl_ffc_params_print() 294 if (ffc->j != NULL in ossl_ffc_params_print() [all …]
|
H A D | ffc_backend.c | 20 int ossl_ffc_params_fromdata(FFC_PARAMS *ffc, const OSSL_PARAM params[]) in ossl_ffc_params_fromdata() argument 39 || !ossl_ffc_named_group_set(ffc, group)) in ossl_ffc_params_fromdata() 57 ffc->gindex = i; in ossl_ffc_params_fromdata() 63 ffc->pcounter = i; in ossl_ffc_params_fromdata() 72 ffc->h = i; in ossl_ffc_params_fromdata() 77 || !ossl_ffc_params_set_seed(ffc, prm->data, prm->data_size)) in ossl_ffc_params_fromdata() 84 ossl_ffc_params_enable_flags(ffc, FFC_PARAM_FLAG_VALIDATE_PQ, i); in ossl_ffc_params_fromdata() 90 ossl_ffc_params_enable_flags(ffc, FFC_PARAM_FLAG_VALIDATE_G, i); in ossl_ffc_params_fromdata() 112 ossl_ffc_set_digest(ffc, prm->data, props); in ossl_ffc_params_fromdata() 114 ossl_ffc_params_set0_pqg(ffc, p, q, g); in ossl_ffc_params_fromdata() [all …]
|
H A 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()
|
/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2text.c | 164 if (ffc->nid != NID_undef) { in ffc_params_to_text() 180 if (!print_labeled_bignum(out, "P: ", ffc->p)) in ffc_params_to_text() 182 if (ffc->q != NULL) { in ffc_params_to_text() 186 if (!print_labeled_bignum(out, "G: ", ffc->g)) in ffc_params_to_text() 188 if (ffc->j != NULL) { in ffc_params_to_text() 192 if (ffc->seed != NULL) { in ffc_params_to_text() 193 if (!print_labeled_buf(out, "SEED:", ffc->seed, ffc->seedlen)) in ffc_params_to_text() 196 if (ffc->gindex != -1) { in ffc_params_to_text() 200 if (ffc->pcounter != -1) { in ffc_params_to_text() 204 if (ffc->h != 0) { in ffc_params_to_text() [all …]
|
/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 600 FFC_PARAMS *ffc; in dsa_gen() local 643 ffc = ossl_dsa_get0_params(dsa); in dsa_gen() 646 && !ossl_ffc_params_copy(ffc, gctx->ffc_params)) in dsa_gen() 650 && !ossl_ffc_params_set_seed(ffc, gctx->seed, gctx->seedlen)) in dsa_gen() 653 ossl_ffc_params_set_gindex(ffc, gctx->gindex); in dsa_gen() 655 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dsa_gen() 657 ossl_ffc_params_set_h(ffc, gctx->hindex); in dsa_gen() 660 ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops); in dsa_gen() 672 if (ffc->p == NULL in dsa_gen() 673 || ffc->q == NULL in dsa_gen() [all …]
|
H A D | dh_kmgmt.c | 702 FFC_PARAMS *ffc; in dh_gen() local 739 ffc = ossl_dh_get0_params(dh); in dh_gen() 744 ffc = ossl_dh_get0_params(dh); in dh_gen() 748 && !ossl_ffc_params_copy(ffc, gctx->ffc_params)) in dh_gen() 751 if (!ossl_ffc_params_set_seed(ffc, gctx->seed, gctx->seedlen)) in dh_gen() 754 ossl_ffc_params_set_gindex(ffc, gctx->gindex); in dh_gen() 756 ossl_ffc_params_set_pcounter(ffc, gctx->pcounter); in dh_gen() 758 ossl_ffc_params_set_h(ffc, gctx->hindex); in dh_gen() 761 ossl_ffc_set_digest(ffc, gctx->mdname, gctx->mdprops); in dh_gen() 787 if (ffc->p == NULL || ffc->g == NULL) in dh_gen() [all …]
|
/openssl/include/internal/ |
H A D | ffc.h | 153 int ossl_ffc_params_print(BIO *bp, const FFC_PARAMS *ffc, int indent); 201 int ossl_ffc_params_todata(const FFC_PARAMS *ffc, OSSL_PARAM_BLD *tmpl, 203 int ossl_ffc_params_fromdata(FFC_PARAMS *ffc, const OSSL_PARAM params[]); 218 int ossl_ffc_named_group_set(FFC_PARAMS *ffc, const DH_NAMED_GROUP *group);
|
/openssl/crypto/dh/ |
H A D | dh_backend.c | 34 FFC_PARAMS *ffc = ossl_dh_get0_params(dh); in dh_ffc_params_fromdata() local 36 ret = ossl_ffc_params_fromdata(ffc, params); in dh_ffc_params_fromdata()
|
/openssl/crypto/dsa/ |
H A D | dsa_lib.c | 356 FFC_PARAMS *ffc = ossl_dsa_get0_params(dsa); in ossl_dsa_ffc_params_fromdata() local 358 ret = ossl_ffc_params_fromdata(ffc, params); in ossl_dsa_ffc_params_fromdata()
|
/openssl/providers/ |
H A D | fips.module.sources | 228 crypto/ffc/ffc_backend.c 229 crypto/ffc/ffc_dh.c 230 crypto/ffc/ffc_key_generate.c 231 crypto/ffc/ffc_key_validate.c 232 crypto/ffc/ffc_params.c 233 crypto/ffc/ffc_params_generate.c 234 crypto/ffc/ffc_params_validate.c 426 include/internal/ffc.h
|
H A D | fips-sources.checksums | 228 d986ec74995b05ff65a68df320ab45894ba35d7be4906f8d78ca5fca294a4e6c crypto/ffc/ffc_backend.c 229 a12af33e605315cdddd6d759e70cd9632f0f33682b9aa7103ed1ecd354fc7e55 crypto/ffc/ffc_dh.c 230 854378f57707e31ad02cca6eec94369f91f327288d3665713e249c12f7b13211 crypto/ffc/ffc_key_generate.c 231 4e973d956d4ec2087994de8e963be1a512da1441f22e6e7b9cd7ee536e3ff834 crypto/ffc/ffc_key_validate.c 232 0eb367c50fb903276a2577c92a4eff210ea1ec176ba29363fd36d21fe0aa7d2f crypto/ffc/ffc_params.c 233 be43754acce63bfd3caf08118d67af31b6f024c9df23debba7432a220bf293a1 crypto/ffc/ffc_params_generate.c 234 73dac805abab36cd9df53a421221c71d06a366a4ce479fa788be777f11b47159 crypto/ffc/ffc_params_validate.c 426 4838a68ff626825c261df6a1fd21e156e25d8365af45552f29054d7038a7db3d include/internal/ffc.h
|
/openssl/crypto/ |
H A D | build.info | 9 ffc hpke thread
|
/openssl/crypto/err/ |
H A D | openssl.txt | 525 DH_R_BAD_FFC_PARAMETERS:127:bad ffc parameters 556 DSA_R_BAD_FFC_PARAMETERS:114:bad ffc parameters
|