Lines Matching refs:bld

3976 	OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new();  in php_openssl_pkey_init_rsa()  local
3987 if (!ctx || !bld || !n || !d) { in php_openssl_pkey_init_rsa()
3991 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_N, n); in php_openssl_pkey_init_rsa()
3992 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_D, d); in php_openssl_pkey_init_rsa()
3994 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_E, e); in php_openssl_pkey_init_rsa()
3997 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_FACTOR1, p); in php_openssl_pkey_init_rsa()
4000 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_FACTOR2, q); in php_openssl_pkey_init_rsa()
4003 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_EXPONENT1, dmp1); in php_openssl_pkey_init_rsa()
4006 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_EXPONENT2, dmq1); in php_openssl_pkey_init_rsa()
4009 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_RSA_COEFFICIENT1, iqmp); in php_openssl_pkey_init_rsa()
4012 params = OSSL_PARAM_BLD_to_param(bld); in php_openssl_pkey_init_rsa()
4026 OSSL_PARAM_BLD_free(bld); in php_openssl_pkey_init_rsa()
4108 OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new(); in php_openssl_pkey_init_dsa() local
4118 if (!ctx || !bld || !p || !q || !g) { in php_openssl_pkey_init_dsa()
4122 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p); in php_openssl_pkey_init_dsa()
4123 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q); in php_openssl_pkey_init_dsa()
4124 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g); in php_openssl_pkey_init_dsa()
4127 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, pub_key); in php_openssl_pkey_init_dsa()
4129 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY, priv_key); in php_openssl_pkey_init_dsa()
4133 params = OSSL_PARAM_BLD_to_param(bld); in php_openssl_pkey_init_dsa()
4162 OSSL_PARAM_BLD_free(bld); in php_openssl_pkey_init_dsa()
4281 OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new(); in php_openssl_pkey_init_dh() local
4291 if (!ctx || !bld || !p || !g) { in php_openssl_pkey_init_dh()
4295 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_P, p); in php_openssl_pkey_init_dh()
4296 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_G, g); in php_openssl_pkey_init_dh()
4298 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_FFC_Q, q); in php_openssl_pkey_init_dh()
4301 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY, priv_key); in php_openssl_pkey_init_dh()
4310 OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, pub_key); in php_openssl_pkey_init_dh()
4313 params = OSSL_PARAM_BLD_to_param(bld); in php_openssl_pkey_init_dh()
4342 OSSL_PARAM_BLD_free(bld); in php_openssl_pkey_init_dh()
4535 OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new(); in php_openssl_pkey_init_ec() local
4539 if (!ctx || !bld || !bctx) { in php_openssl_pkey_init_ec()
4555 …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()
4573 if (!OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_P, p) || in php_openssl_pkey_init_ec()
4574 !OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_A, a) || in php_openssl_pkey_init_ec()
4575 !OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_B, b) || in php_openssl_pkey_init_ec()
4576 !OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_ORDER, order) || in php_openssl_pkey_init_ec()
4577 !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()
4592 …!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()
4615 …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()
4623 …!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()
4629 if (!OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_EC_COFACTOR, cofactor) || in php_openssl_pkey_init_ec()
4646 !OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PRIV_KEY, d)) { in php_openssl_pkey_init_ec()
4661 !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()
4667 params = OSSL_PARAM_BLD_to_param(bld); in php_openssl_pkey_init_ec()
4701 OSSL_PARAM_BLD_free(bld); in php_openssl_pkey_init_ec()
4749 OSSL_PARAM_BLD *bld = OSSL_PARAM_BLD_new(); in php_openssl_pkey_object_curve_25519_448() local
4754 if (!bld) { in php_openssl_pkey_object_curve_25519_448()
4760 …if (!OSSL_PARAM_BLD_push_octet_string(bld, OSSL_PKEY_PARAM_PRIV_KEY, Z_STRVAL_P(priv_key), Z_STRLE… in php_openssl_pkey_object_curve_25519_448()
4767 …if (!OSSL_PARAM_BLD_push_octet_string(bld, OSSL_PKEY_PARAM_PUB_KEY, Z_STRVAL_P(pub_key), Z_STRLEN_… in php_openssl_pkey_object_curve_25519_448()
4772 params = OSSL_PARAM_BLD_to_param(bld); in php_openssl_pkey_object_curve_25519_448()
4800 OSSL_PARAM_BLD_free(bld); in php_openssl_pkey_object_curve_25519_448()