Searched refs:ecdhkey (Results 1 – 1 of 1) sorted by relevance
2713 zend_string *ecdhkey; in PHP_FUNCTION() local2726 ecdhkey = zend_string_alloc(crypto_box_SECRETKEYBYTES, 0); in PHP_FUNCTION()2728 if (crypto_sign_ed25519_sk_to_curve25519((unsigned char *) ZSTR_VAL(ecdhkey), in PHP_FUNCTION()2733 ZSTR_VAL(ecdhkey)[crypto_box_SECRETKEYBYTES] = 0; in PHP_FUNCTION() local2735 RETURN_STR(ecdhkey); in PHP_FUNCTION()2740 zend_string *ecdhkey; in PHP_FUNCTION() local2753 ecdhkey = zend_string_alloc(crypto_sign_PUBLICKEYBYTES, 0); in PHP_FUNCTION()2755 if (crypto_sign_ed25519_pk_to_curve25519((unsigned char *) ZSTR_VAL(ecdhkey), in PHP_FUNCTION()2760 ZSTR_VAL(ecdhkey)[crypto_box_PUBLICKEYBYTES] = 0; in PHP_FUNCTION() local2762 RETURN_STR(ecdhkey); in PHP_FUNCTION()
Completed in 14 milliseconds