Searched refs:ecdhkey (Results 1 – 1 of 1) sorted by relevance
3124 zend_string *ecdhkey; in PHP_FUNCTION() local3139 ecdhkey = zend_string_alloc(crypto_box_SECRETKEYBYTES, 0); in PHP_FUNCTION()3141 if (crypto_sign_ed25519_sk_to_curve25519((unsigned char *) ZSTR_VAL(ecdhkey), in PHP_FUNCTION()3146 ZSTR_VAL(ecdhkey)[crypto_box_SECRETKEYBYTES] = 0; in PHP_FUNCTION() local3148 RETURN_STR(ecdhkey); in PHP_FUNCTION()3153 zend_string *ecdhkey; in PHP_FUNCTION() local3168 ecdhkey = zend_string_alloc(crypto_sign_PUBLICKEYBYTES, 0); in PHP_FUNCTION()3170 if (crypto_sign_ed25519_pk_to_curve25519((unsigned char *) ZSTR_VAL(ecdhkey), in PHP_FUNCTION()3175 ZSTR_VAL(ecdhkey)[crypto_box_PUBLICKEYBYTES] = 0; in PHP_FUNCTION() local3177 RETURN_STR(ecdhkey); in PHP_FUNCTION()
Completed in 15 milliseconds