From 331d839779304c8dd1313a1e428365396f2f4325 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Thu, 13 Jun 2024 15:24:19 +0200 Subject: [PATCH] Execute build/refresh.sh. --- bindings/rust/src/bindings.rs | 20 +++++++++++++++++++- build/win64/blst.def | 6 ++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/bindings/rust/src/bindings.rs b/bindings/rust/src/bindings.rs index f72753c3..371772f7 100644 --- a/bindings/rust/src/bindings.rs +++ b/bindings/rust/src/bindings.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.65.1 */ +/* automatically generated by rust-bindgen 0.69.4 */ #[repr(u32)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -1386,6 +1386,24 @@ extern "C" { extern "C" { pub fn blst_fp12_sizeof() -> usize; } +extern "C" { + pub fn blst_p1_affine_serialize_eip2537(out: *mut byte, in_: *const blst_p1_affine); +} +extern "C" { + pub fn blst_p1_serialize_eip2537(out: *mut byte, in_: *const blst_p1); +} +extern "C" { + pub fn blst_p1_deserialize_eip2537(out: *mut blst_p1_affine, in_: *const byte) -> BLST_ERROR; +} +extern "C" { + pub fn blst_p2_affine_serialize_eip2537(out: *mut byte, in_: *const blst_p2_affine); +} +extern "C" { + pub fn blst_p2_serialize_eip2537(out: *mut byte, in_: *const blst_p2); +} +extern "C" { + pub fn blst_p2_deserialize_eip2537(out: *mut blst_p2_affine, in_: *const byte) -> BLST_ERROR; +} extern "C" { pub fn blst_sha256(out: *mut byte, msg: *const byte, msg_len: usize); } diff --git a/build/win64/blst.def b/build/win64/blst.def index dda95336..30625fc3 100644 --- a/build/win64/blst.def +++ b/build/win64/blst.def @@ -217,5 +217,11 @@ EXPORTS blst_p2_sizeof blst_p2_affine_sizeof blst_fp12_sizeof + blst_p1_affine_serialize_eip2537 + blst_p1_serialize_eip2537 + blst_p1_deserialize_eip2537 + blst_p2_affine_serialize_eip2537 + blst_p2_serialize_eip2537 + blst_p2_deserialize_eip2537 blst_sha256