Home
last modified time | relevance | path

Searched refs:ecdhkey (Results 1 – 1 of 1) sorted by relevance

/PHP-8.1/ext/sodium/
H A Dlibsodium.c2888 zend_string *ecdhkey; in PHP_FUNCTION() local
2901 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() local
2910 RETURN_STR(ecdhkey); in PHP_FUNCTION()
2915 zend_string *ecdhkey; in PHP_FUNCTION() local
2928 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() local
2937 RETURN_STR(ecdhkey); in PHP_FUNCTION()

Completed in 25 milliseconds