Rename x to z in csharp bindings for verify_kzg_proof
This commit is contained in:
parent
2761467490
commit
c5e42fdc82
|
@ -58,13 +58,13 @@ public class Ckzg
|
||||||
/// Verify the proof by point evaluation for the given commitment
|
/// Verify the proof by point evaluation for the given commitment
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="commitment">Commitment</param>
|
/// <param name="commitment">Commitment</param>
|
||||||
/// <param name="x">X</param>
|
/// <param name="z">Z</param>
|
||||||
/// <param name="y">Y</param>
|
/// <param name="y">Y</param>
|
||||||
/// <param name="proof">Proof</param>
|
/// <param name="proof">Proof</param>
|
||||||
/// <param name="ts">Trusted setup settings</param>
|
/// <param name="ts">Trusted setup settings</param>
|
||||||
/// <returns>Returns error code or <c>0</c> if the proof is correct</returns>
|
/// <returns>Returns error code or <c>0</c> if the proof is correct</returns>
|
||||||
[DllImport("ckzg", EntryPoint = "verify_kzg_proof_wrap", CallingConvention = CallingConvention.Cdecl)] // returns 0 on success
|
[DllImport("ckzg", EntryPoint = "verify_kzg_proof_wrap", CallingConvention = CallingConvention.Cdecl)] // returns 0 on success
|
||||||
public unsafe static extern int VerifyKzgProof(byte* commitment, byte* x, byte* y, byte* proof, IntPtr ts);
|
public unsafe static extern int VerifyKzgProof(byte* commitment, byte* z, byte* y, byte* proof, IntPtr ts);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Load trusted setup settings from file
|
/// Load trusted setup settings from file
|
||||||
|
|
Loading…
Reference in New Issue