Searched refs:ecdhkey (Results 1 – 1 of 1) sorted by relevance
2888 zend_string *ecdhkey; in PHP_FUNCTION() local2901 ecdhkey = zend_string_alloc(crypto_box_SECRETKEYBYTES, 0); in PHP_FUNCTION()2903 if (crypto_sign_ed25519_sk_to_curve25519((unsigned char *) ZSTR_VAL(ecdhkey), in PHP_FUNCTION()2908 ZSTR_VAL(ecdhkey)[crypto_box_SECRETKEYBYTES] = 0; in PHP_FUNCTION() local2910 RETURN_STR(ecdhkey); in PHP_FUNCTION()2915 zend_string *ecdhkey; in PHP_FUNCTION() local2928 ecdhkey = zend_string_alloc(crypto_sign_PUBLICKEYBYTES, 0); in PHP_FUNCTION()2930 if (crypto_sign_ed25519_pk_to_curve25519((unsigned char *) ZSTR_VAL(ecdhkey), in PHP_FUNCTION()2935 ZSTR_VAL(ecdhkey)[crypto_box_PUBLICKEYBYTES] = 0; in PHP_FUNCTION() local2937 RETURN_STR(ecdhkey); in PHP_FUNCTION()
Completed in 18 milliseconds