Lines Matching refs:bld

3898 	OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new();  in php_openssl_pkey_init_rsa()  local
3909 if (!ctx || !bld || !n || !d) { in php_openssl_pkey_init_rsa()
3913 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n); in php_openssl_pkey_init_rsa()
3914 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_D, d); in php_openssl_pkey_init_rsa()
3916 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_E, e); in php_openssl_pkey_init_rsa()
3919 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_FACTOR1, p); in php_openssl_pkey_init_rsa()
3922 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_FACTOR2, q); in php_openssl_pkey_init_rsa()
3925 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_EXPONENT1, dmp1); in php_openssl_pkey_init_rsa()
3928 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_EXPONENT2, dmq1); in php_openssl_pkey_init_rsa()
3931 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_COEFFICIENT1, iqmp); in php_openssl_pkey_init_rsa()
3934 params = OSSL_PARAM_BLD_to_param(bld); in php_openssl_pkey_init_rsa()
3948 OSSL_PARAM_BLD_free(bld); in php_openssl_pkey_init_rsa()
4030 OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new(); in php_openssl_pkey_init_dsa() local
4040 if (!ctx || !bld || !p || !q || !g) { in php_openssl_pkey_init_dsa()
4044 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p); in php_openssl_pkey_init_dsa()
4045 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q); in php_openssl_pkey_init_dsa()
4046 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g); in php_openssl_pkey_init_dsa()
4049 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, pub_key); in php_openssl_pkey_init_dsa()
4051 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY, priv_key); in php_openssl_pkey_init_dsa()
4055 params = OSSL_PARAM_BLD_to_param(bld); in php_openssl_pkey_init_dsa()
4084 OSSL_PARAM_BLD_free(bld); in php_openssl_pkey_init_dsa()
4203 OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new(); in php_openssl_pkey_init_dh() local
4213 if (!ctx || !bld || !p || !g) { in php_openssl_pkey_init_dh()
4217 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p); in php_openssl_pkey_init_dh()
4218 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g); in php_openssl_pkey_init_dh()
4220 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q); in php_openssl_pkey_init_dh()
4223 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY, priv_key); in php_openssl_pkey_init_dh()
4232 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, pub_key); in php_openssl_pkey_init_dh()
4235 params = OSSL_PARAM_BLD_to_param(bld); in php_openssl_pkey_init_dh()
4264 OSSL_PARAM_BLD_free(bld); in php_openssl_pkey_init_dh()
4457 OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new(); in php_openssl_pkey_init_ec() local
4473 …if (!OSSL_PARAM_BLD_push_utf8_string(bld, OSSL_PKEY_PARAM_GROUP_NAME, Z_STRVAL_P(curve_name_zv), Z… in php_openssl_pkey_init_ec()
4491 if (!OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_P, p) || in php_openssl_pkey_init_ec()
4492 !OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_A, a) || in php_openssl_pkey_init_ec()
4493 !OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_B, b) || in php_openssl_pkey_init_ec()
4494 !OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_ORDER, order) || in php_openssl_pkey_init_ec()
4495 !OSSL_PARAM_BLD_push_utf8_string(bld, OSSL_PKEY_PARAM_EC_FIELD_TYPE, SN_X9_62_prime_field, 0)) { in php_openssl_pkey_init_ec()
4510 …!OSSL_PARAM_BLD_push_octet_string(bld, OSSL_PKEY_PARAM_EC_GENERATOR, Z_STRVAL_P(generator_zv), Z_S… in php_openssl_pkey_init_ec()
4533 …if (!OSSL_PARAM_BLD_push_octet_string(bld, OSSL_PKEY_PARAM_EC_GENERATOR, point_g_buf, point_g_buf_… in php_openssl_pkey_init_ec()
4541 …!OSSL_PARAM_BLD_push_octet_string(bld, OSSL_PKEY_PARAM_EC_SEED, Z_STRVAL_P(seed_zv), Z_STRLEN_P(se… in php_openssl_pkey_init_ec()
4547 if (!OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_COFACTOR, cofactor) || in php_openssl_pkey_init_ec()
4564 !OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY, d)) { in php_openssl_pkey_init_ec()
4579 !OSSL_PARAM_BLD_push_octet_string(bld, OSSL_PKEY_PARAM_PUB_KEY, point_q_buf, point_q_buf_len)) { in php_openssl_pkey_init_ec()
4585 params = OSSL_PARAM_BLD_to_param(bld); in php_openssl_pkey_init_ec()
4619 OSSL_PARAM_BLD_free(bld); in php_openssl_pkey_init_ec()