Lines Matching refs:dsa
272 #define EVP_PKEY_get0_DSA(_pkey) _pkey->pkey.dsa in ZEND_GET_MODULE()
3935 DSA *dsa = EVP_PKEY_get0_DSA(pkey); in php_openssl_is_private_key() local
3936 if (dsa != NULL) { in php_openssl_is_private_key()
3939 DSA_get0_pqg(dsa, &p, &q, &g); in php_openssl_is_private_key()
3944 DSA_get0_key(dsa, &pub_key, &priv_key); in php_openssl_is_private_key()
4045 static zend_bool php_openssl_pkey_init_dsa(DSA *dsa, zval *data) in php_openssl_pkey_init_dsa() argument
4053 if (!p || !q || !g || !DSA_set0_pqg(dsa, p, q, g)) { in php_openssl_pkey_init_dsa()
4060 return DSA_set0_key(dsa, pub_key, priv_key); in php_openssl_pkey_init_dsa()
4065 if (!DSA_generate_key(dsa)) { in php_openssl_pkey_init_dsa()
4072 DSA_get0_key(dsa, &pub_key_const, &priv_key_const); in php_openssl_pkey_init_dsa()
4199 DSA *dsa = DSA_new(); in PHP_FUNCTION() local
4200 if (dsa) { in PHP_FUNCTION()
4201 if (php_openssl_pkey_init_dsa(dsa, data)) { in PHP_FUNCTION()
4202 if (EVP_PKEY_assign_DSA(pkey, dsa)) { in PHP_FUNCTION()
4211 DSA_free(dsa); in PHP_FUNCTION()
4668 DSA *dsa = EVP_PKEY_get0_DSA(pkey); in PHP_FUNCTION() local
4671 if (dsa != NULL) { in PHP_FUNCTION()
4675 DSA_get0_pqg(dsa, &p, &q, &g); in PHP_FUNCTION()
4676 DSA_get0_key(dsa, &pub_key, &priv_key); in PHP_FUNCTION()