Lines Matching refs:prm

22     const OSSL_PARAM *prm;  in ossl_ffc_params_fromdata()  local
27 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_GROUP_NAME); in ossl_ffc_params_fromdata()
28 if (prm != NULL) { in ossl_ffc_params_fromdata()
36 if (prm->data_type != OSSL_PARAM_UTF8_STRING in ossl_ffc_params_fromdata()
37 || prm->data == NULL in ossl_ffc_params_fromdata()
38 || (group = ossl_ffc_name_to_dh_named_group(prm->data)) == NULL in ossl_ffc_params_fromdata()
53 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_GINDEX); in ossl_ffc_params_fromdata()
54 if (prm != NULL) { in ossl_ffc_params_fromdata()
55 if (!OSSL_PARAM_get_int(prm, &i)) in ossl_ffc_params_fromdata()
59 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_PCOUNTER); in ossl_ffc_params_fromdata()
60 if (prm != NULL) { in ossl_ffc_params_fromdata()
61 if (!OSSL_PARAM_get_int(prm, &i)) in ossl_ffc_params_fromdata()
65 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_COFACTOR); in ossl_ffc_params_fromdata()
66 if (prm != NULL && !OSSL_PARAM_get_BN(prm, &j)) in ossl_ffc_params_fromdata()
68 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_H); in ossl_ffc_params_fromdata()
69 if (prm != NULL) { in ossl_ffc_params_fromdata()
70 if (!OSSL_PARAM_get_int(prm, &i)) in ossl_ffc_params_fromdata()
74 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_SEED); in ossl_ffc_params_fromdata()
75 if (prm != NULL) { in ossl_ffc_params_fromdata()
76 if (prm->data_type != OSSL_PARAM_OCTET_STRING in ossl_ffc_params_fromdata()
77 || !ossl_ffc_params_set_seed(ffc, prm->data, prm->data_size)) in ossl_ffc_params_fromdata()
80 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_VALIDATE_PQ); in ossl_ffc_params_fromdata()
81 if (prm != NULL) { in ossl_ffc_params_fromdata()
82 if (!OSSL_PARAM_get_int(prm, &i)) in ossl_ffc_params_fromdata()
86 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_VALIDATE_G); in ossl_ffc_params_fromdata()
87 if (prm != NULL) { in ossl_ffc_params_fromdata()
88 if (!OSSL_PARAM_get_int(prm, &i)) in ossl_ffc_params_fromdata()
92 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_VALIDATE_LEGACY); in ossl_ffc_params_fromdata()
93 if (prm != NULL) { in ossl_ffc_params_fromdata()
94 if (!OSSL_PARAM_get_int(prm, &i)) in ossl_ffc_params_fromdata()
99 prm = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_FFC_DIGEST); in ossl_ffc_params_fromdata()
100 if (prm != NULL) { in ossl_ffc_params_fromdata()
104 if (prm->data_type != OSSL_PARAM_UTF8_STRING) in ossl_ffc_params_fromdata()
112 ossl_ffc_set_digest(ffc, prm->data, props); in ossl_ffc_params_fromdata()