mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-11 09:26:20 +02:00
Convert publickey_verify to bridge_fn
This included reordering parameters in the C version so that the output parameter is always first. That's consistent with our other C APIs anyway.
This commit is contained in:
@@ -86,7 +86,7 @@ public final class Native {
|
||||
public static native void ECPublicKey_Destroy(long handle);
|
||||
public static native byte[] ECPublicKey_GetPublicKeyBytes(long handle);
|
||||
public static native byte[] ECPublicKey_Serialize(long handle);
|
||||
public static native boolean ECPublicKey_Verify(long handle, byte[] message, byte[] signature);
|
||||
public static native boolean ECPublicKey_Verify(long key, byte[] message, byte[] signature);
|
||||
|
||||
public static native byte[] GroupCipher_DecryptMessage(long senderKeyName, byte[] message, SenderKeyStore store);
|
||||
public static native byte[] GroupCipher_EncryptMessage(long senderKeyName, byte[] message, SenderKeyStore store);
|
||||
|
||||
Reference in New Issue
Block a user