verify($adapted, $rustSignature, $publicKey) !== 0) { throw new RuntimeException('PHP/liboqs did not verify the Contractless Rust signature.'); } $phpSignature = ''; if ($falcon->sign($phpSignature, $adapted, $privateKey) !== 0 || strlen($phpSignature) !== 666 || $falcon->verify($adapted, $phpSignature, $publicKey) !== 0 ) { throw new RuntimeException('PHP/liboqs Falcon signing failed.'); } echo "Native Skein and Falcon interoperability tests passed.\n";