Lines Matching refs:ptmp
1540 const OSSL_PARAM *ptmp; in EC_GROUP_new_from_params() local
1557 ptmp = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_GROUP_NAME); in EC_GROUP_new_from_params()
1558 if (ptmp != NULL) { in EC_GROUP_new_from_params()
1561 if ((group = group_new_from_name(ptmp, libctx, propq)) == NULL) in EC_GROUP_new_from_params()
1568 ptmp = OSSL_PARAM_locate_const(params, in EC_GROUP_new_from_params()
1570 if (ptmp != NULL && !OSSL_PARAM_get_int(ptmp, &decoded)) { in EC_GROUP_new_from_params()
1599 ptmp = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_FIELD_TYPE); in EC_GROUP_new_from_params()
1600 if (ptmp == NULL || ptmp->data_type != OSSL_PARAM_UTF8_STRING) { in EC_GROUP_new_from_params()
1604 if (OPENSSL_strcasecmp(ptmp->data, SN_X9_62_prime_field) == 0) { in EC_GROUP_new_from_params()
1606 } else if (OPENSSL_strcasecmp(ptmp->data, in EC_GROUP_new_from_params()
1627 ptmp = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_P); in EC_GROUP_new_from_params()
1628 if (!OSSL_PARAM_get_BN(ptmp, &p)) { in EC_GROUP_new_from_params()
1669 ptmp = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_SEED); in EC_GROUP_new_from_params()
1670 if (ptmp != NULL) { in EC_GROUP_new_from_params()
1671 if (ptmp->data_type != OSSL_PARAM_OCTET_STRING) { in EC_GROUP_new_from_params()
1675 if (!EC_GROUP_set_seed(group, ptmp->data, ptmp->data_size)) in EC_GROUP_new_from_params()
1680 ptmp = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_GENERATOR); in EC_GROUP_new_from_params()
1681 if (ptmp == NULL in EC_GROUP_new_from_params()
1682 || ptmp->data_type != OSSL_PARAM_OCTET_STRING) { in EC_GROUP_new_from_params()
1686 buf = (const unsigned char *)(ptmp->data); in EC_GROUP_new_from_params()
1691 if (!EC_POINT_oct2point(group, point, buf, ptmp->data_size, bnctx)) { in EC_GROUP_new_from_params()
1697 ptmp = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_ORDER); in EC_GROUP_new_from_params()
1698 if (!OSSL_PARAM_get_BN(ptmp, &order) in EC_GROUP_new_from_params()
1706 ptmp = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_COFACTOR); in EC_GROUP_new_from_params()
1707 if (ptmp != NULL) { in EC_GROUP_new_from_params()
1709 if (cofactor == NULL || !OSSL_PARAM_get_BN(ptmp, &cofactor)) { in EC_GROUP_new_from_params()
1731 ptmp = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_ENCODING); in EC_GROUP_new_from_params()
1732 if (ptmp != NULL in EC_GROUP_new_from_params()
1733 && !ossl_ec_encoding_param2id(ptmp, &encoding_flag)) { in EC_GROUP_new_from_params()