Home
last modified time | relevance | path

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

/PHP-8.0/ext/sodium/
H A Dlibsodium.c2713 zend_string *ecdhkey; in PHP_FUNCTION() local
2726 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() local
2735 RETURN_STR(ecdhkey); in PHP_FUNCTION()
2740 zend_string *ecdhkey; in PHP_FUNCTION() local
2753 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() local
2762 RETURN_STR(ecdhkey); in PHP_FUNCTION()

Completed in 14 milliseconds