Searched refs:msg_signed (Results 1 – 2 of 2) sorted by relevance
24 $msg_signed = sodium_crypto_sign($msg, $alice_secretkey);25 var_dump(strlen($msg_signed) - strlen($msg) === SODIUM_CRYPTO_SIGN_BYTES);27 $msg_orig = sodium_crypto_sign_open($msg_signed, $alice_publickey);40 $msg_signed = sodium_crypto_sign($msg, $alice_secretkey);41 var_dump(strlen($msg_signed) - strlen($msg) === SODIUM_CRYPTO_SIGN_BYTES);43 $msg_orig = sodium_crypto_sign_open($msg_signed, $alice_publickey);
1236 zend_string *msg_signed; in PHP_FUNCTION() local1259 msg_signed = zend_string_alloc((size_t) msg_signed_len, 0); in PHP_FUNCTION()1260 if (crypto_sign((unsigned char *) ZSTR_VAL(msg_signed), in PHP_FUNCTION()1263 zend_string_efree(msg_signed); in PHP_FUNCTION()1268 zend_string_efree(msg_signed); in PHP_FUNCTION()1272 PHP_SODIUM_ZSTR_TRUNCATE(msg_signed, (size_t) msg_signed_real_len); in PHP_FUNCTION()1273 ZSTR_VAL(msg_signed)[msg_signed_real_len] = 0; in PHP_FUNCTION() local1275 RETURN_NEW_STR(msg_signed); in PHP_FUNCTION()1281 unsigned char *msg_signed; in PHP_FUNCTION() local1289 &msg_signed, &msg_signed_len, in PHP_FUNCTION()[all …]
Completed in 19 milliseconds