Skip to content

Instantly share code, notes, and snippets.

@hnakamur
Created March 24, 2020 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hnakamur/deafc11247601d0ea8fafef37084ee1b to your computer and use it in GitHub Desktop.
Save hnakamur/deafc11247601d0ea8fafef37084ee1b to your computer and use it in GitHub Desktop.
output of "go tool cgo -debug-gcc -- -I include bls.go"
#line 1 "cgo-builtin-prolog"
#include <stddef.h> /* for ptrdiff_t and size_t below */
/* Define intgo when compiling with GCC. */
typedef ptrdiff_t intgo;
#define GO_CGO_GOSTRING_TYPEDEF
typedef struct { const char *p; intgo n; } _GoString_;
typedef struct { char *p; intgo n; intgo c; } _GoBytes_;
_GoString_ GoString(char *p);
_GoString_ GoStringN(char *p, int l);
_GoBytes_ GoBytes(void *p, int n);
char *CString(_GoString_);
void *CBytes(_GoBytes_);
void *_CMalloc(size_t);
__attribute__ ((unused))
static size_t _GoStringLen(_GoString_ s) { return (size_t)s.n; }
__attribute__ ((unused))
static const char *_GoStringPtr(_GoString_ s) { return s.p; }
#line 3 "/home/hnakamur/ghq/github.com/herumi/bls-eth-go-binary/bls/bls.go"
typedef unsigned int (*ReadRandFunc)(void *, void *, unsigned int);
int wrapReadRandCgo(void *self, void *buf, unsigned int n);
#include <mcl/bn_c384_256.h>
#include <bls/bls.h>
#line 1 "cgo-generated-wrapper"
#line 1 "cgo-gcc-prolog"
/*
If x and y are not equal, the type will be invalid
(have a negative array count) and an inscrutable error will come
out of the compiler and hopefully mention "name".
*/
#define __cgo_compile_assert_eq(x, y, name) typedef char name[(x-y)*(x-y)*-2+1];
/* Check at compile time that the sizes we use match our expectations. */
#define __cgo_size_assert(t, n) __cgo_compile_assert_eq(sizeof(t), n, _cgo_sizeof_##t##_is_not_##n)
__cgo_size_assert(char, 1)
__cgo_size_assert(short, 2)
__cgo_size_assert(int, 4)
typedef long long __cgo_long_long;
__cgo_size_assert(__cgo_long_long, 8)
__cgo_size_assert(float, 4)
__cgo_size_assert(double, 8)
extern char* _cgo_topofstack(void);
/*
We use packed structs, but they are always aligned.
The pragmas and address-of-packed-member are only recognized as warning
groups in clang 4.0+, so ignore unknown pragmas first.
*/
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
#include <errno.h>
#include <string.h>
#define CGO_NO_SANITIZE_THREAD
#define _cgo_tsan_acquire()
#define _cgo_tsan_release()
#define _cgo_msan_write(addr, sz)
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsAggregateSignature(void *v)
{
struct {
blsSignature* p0;
blsSignature const* p1;
size_t p2;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsAggregateSignature(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsAggregateVerifyNoCheck(void *v)
{
struct {
blsSignature const* p0;
blsPublicKey const* p1;
const void* p2;
size_t p3;
size_t p4;
int r;
char __pad44[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsAggregateVerifyNoCheck(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3, _cgo_a->p4);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsDHKeyExchange(void *v)
{
struct {
blsPublicKey* p0;
blsSecretKey const* p1;
blsPublicKey const* p2;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsDHKeyExchange(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsFastAggregateVerify(void *v)
{
struct {
blsSignature const* p0;
blsPublicKey const* p1;
size_t p2;
const void* p3;
size_t p4;
int r;
char __pad44[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsFastAggregateVerify(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3, _cgo_a->p4);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsGetGeneratorOfPublicKey(void *v)
{
struct {
blsPublicKey* p0;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsGetGeneratorOfPublicKey(_cgo_a->p0);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsGetPop(void *v)
{
struct {
blsSignature* p0;
blsSecretKey const* p1;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsGetPop(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsGetPublicKey(void *v)
{
struct {
blsPublicKey* p0;
blsSecretKey const* p1;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsGetPublicKey(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsHashToSignature(void *v)
{
struct {
blsSignature* p0;
const void* p1;
size_t p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsHashToSignature(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsIdDeserialize(void *v)
{
struct {
blsId* p0;
const void* p1;
size_t p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsIdDeserialize(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsIdGetDecStr(void *v)
{
struct {
char* p0;
size_t p1;
blsId const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsIdGetDecStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsIdGetHexStr(void *v)
{
struct {
char* p0;
size_t p1;
blsId const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsIdGetHexStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsIdIsEqual(void *v)
{
struct {
blsId const* p0;
blsId const* p1;
int r;
char __pad20[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsIdIsEqual(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsIdSerialize(void *v)
{
struct {
void* p0;
size_t p1;
blsId const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsIdSerialize(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsIdSetDecStr(void *v)
{
struct {
blsId* p0;
char const* p1;
size_t p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsIdSetDecStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsIdSetHexStr(void *v)
{
struct {
blsId* p0;
char const* p1;
size_t p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsIdSetHexStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsIdSetLittleEndian(void *v)
{
struct {
blsId* p0;
const void* p1;
size_t p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsIdSetLittleEndian(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsInit(void *v)
{
struct {
int p0;
int p1;
int r;
char __pad12[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsInit(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeyAdd(void *v)
{
struct {
blsPublicKey* p0;
blsPublicKey const* p1;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsPublicKeyAdd(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeyDeserialize(void *v)
{
struct {
blsPublicKey* p0;
const void* p1;
size_t p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsPublicKeyDeserialize(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeyDeserializeUncompressed(void *v)
{
struct {
blsPublicKey* p0;
const void* p1;
size_t p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsPublicKeyDeserializeUncompressed(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeyGetHexStr(void *v)
{
struct {
char* p0;
size_t p1;
blsPublicKey const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsPublicKeyGetHexStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeyIsEqual(void *v)
{
struct {
blsPublicKey const* p0;
blsPublicKey const* p1;
int r;
char __pad20[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsPublicKeyIsEqual(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeyIsValidOrder(void *v)
{
struct {
blsPublicKey const* p0;
int r;
char __pad12[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsPublicKeyIsValidOrder(_cgo_a->p0);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeyRecover(void *v)
{
struct {
blsPublicKey* p0;
blsPublicKey const* p1;
blsId const* p2;
size_t p3;
int r;
char __pad36[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsPublicKeyRecover(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeySerialize(void *v)
{
struct {
void* p0;
size_t p1;
blsPublicKey const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsPublicKeySerialize(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeySerializeUncompressed(void *v)
{
struct {
void* p0;
size_t p1;
blsPublicKey const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsPublicKeySerializeUncompressed(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeySetHexStr(void *v)
{
struct {
blsPublicKey* p0;
char const* p1;
size_t p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsPublicKeySetHexStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeyShare(void *v)
{
struct {
blsPublicKey* p0;
blsPublicKey const* p1;
size_t p2;
blsId const* p3;
int r;
char __pad36[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsPublicKeyShare(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsPublicKeyVerifyOrder(void *v)
{
struct {
int p0;
char __pad4[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsPublicKeyVerifyOrder(_cgo_a->p0);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeyAdd(void *v)
{
struct {
blsSecretKey* p0;
blsSecretKey const* p1;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsSecretKeyAdd(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeyDeserialize(void *v)
{
struct {
blsSecretKey* p0;
const void* p1;
size_t p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeyDeserialize(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeyGetDecStr(void *v)
{
struct {
char* p0;
size_t p1;
blsSecretKey const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeyGetDecStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeyGetHexStr(void *v)
{
struct {
char* p0;
size_t p1;
blsSecretKey const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeyGetHexStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeyIsEqual(void *v)
{
struct {
blsSecretKey const* p0;
blsSecretKey const* p1;
int r;
char __pad20[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeyIsEqual(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeyRecover(void *v)
{
struct {
blsSecretKey* p0;
blsSecretKey const* p1;
blsId const* p2;
size_t p3;
int r;
char __pad36[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeyRecover(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeySerialize(void *v)
{
struct {
void* p0;
size_t p1;
blsSecretKey const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeySerialize(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeySetByCSPRNG(void *v)
{
struct {
blsSecretKey* p0;
int r;
char __pad12[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeySetByCSPRNG(_cgo_a->p0);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeySetDecStr(void *v)
{
struct {
blsSecretKey* p0;
char const* p1;
size_t p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeySetDecStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeySetHexStr(void *v)
{
struct {
blsSecretKey* p0;
char const* p1;
size_t p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeySetHexStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeySetLittleEndian(void *v)
{
struct {
blsSecretKey* p0;
const void* p1;
size_t p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeySetLittleEndian(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeySetLittleEndianMod(void *v)
{
struct {
blsSecretKey* p0;
const void* p1;
size_t p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeySetLittleEndianMod(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSecretKeyShare(void *v)
{
struct {
blsSecretKey* p0;
blsSecretKey const* p1;
size_t p2;
blsId const* p3;
int r;
char __pad36[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSecretKeyShare(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSetETHmode(void *v)
{
struct {
int p0;
char __pad4[4];
int r;
char __pad12[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSetETHmode(_cgo_a->p0);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSetRandFunc(void *v)
{
struct {
void* p0;
void* p1;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsSetRandFunc(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSign(void *v)
{
struct {
blsSignature* p0;
blsSecretKey const* p1;
const void* p2;
size_t p3;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsSign(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignHash(void *v)
{
struct {
blsSignature* p0;
blsSecretKey const* p1;
const void* p2;
size_t p3;
int r;
char __pad36[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignHash(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignHashWithDomain(void *v)
{
struct {
blsSignature* p0;
blsSecretKey const* p1;
unsigned char const* p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignHashWithDomain(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureAdd(void *v)
{
struct {
blsSignature* p0;
blsSignature const* p1;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsSignatureAdd(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureDeserialize(void *v)
{
struct {
blsSignature* p0;
const void* p1;
size_t p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignatureDeserialize(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureDeserializeUncompressed(void *v)
{
struct {
blsSignature* p0;
const void* p1;
size_t p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignatureDeserializeUncompressed(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureGetHexStr(void *v)
{
struct {
char* p0;
size_t p1;
blsSignature const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignatureGetHexStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureIsEqual(void *v)
{
struct {
blsSignature const* p0;
blsSignature const* p1;
int r;
char __pad20[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignatureIsEqual(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureIsValidOrder(void *v)
{
struct {
blsSignature const* p0;
int r;
char __pad12[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignatureIsValidOrder(_cgo_a->p0);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureRecover(void *v)
{
struct {
blsSignature* p0;
blsSignature const* p1;
blsId const* p2;
size_t p3;
int r;
char __pad36[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignatureRecover(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureSerialize(void *v)
{
struct {
void* p0;
size_t p1;
blsSignature const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignatureSerialize(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureSerializeUncompressed(void *v)
{
struct {
void* p0;
size_t p1;
blsSignature const* p2;
size_t r;
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignatureSerializeUncompressed(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureSetHexStr(void *v)
{
struct {
blsSignature* p0;
char const* p1;
size_t p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsSignatureSetHexStr(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsSignatureVerifyOrder(void *v)
{
struct {
int p0;
char __pad4[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
_cgo_tsan_acquire();
blsSignatureVerifyOrder(_cgo_a->p0);
_cgo_tsan_release();
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsVerify(void *v)
{
struct {
blsSignature const* p0;
blsPublicKey const* p1;
const void* p2;
size_t p3;
int r;
char __pad36[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsVerify(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsVerifyAggregatedHashWithDomain(void *v)
{
struct {
blsSignature const* p0;
blsPublicKey const* p1;
__typeof__(unsigned char const[40])* p2;
size_t p3;
int r;
char __pad36[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsVerifyAggregatedHashWithDomain(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsVerifyAggregatedHashes(void *v)
{
struct {
blsSignature const* p0;
blsPublicKey const* p1;
const void* p2;
size_t p3;
size_t p4;
int r;
char __pad44[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsVerifyAggregatedHashes(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3, _cgo_a->p4);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsVerifyHash(void *v)
{
struct {
blsSignature const* p0;
blsPublicKey const* p1;
const void* p2;
size_t p3;
int r;
char __pad36[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsVerifyHash(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsVerifyHashWithDomain(void *v)
{
struct {
blsSignature const* p0;
blsPublicKey const* p1;
unsigned char const* p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsVerifyHashWithDomain(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsVerifyPairing(void *v)
{
struct {
blsSignature const* p0;
blsSignature const* p1;
blsPublicKey const* p2;
int r;
char __pad28[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsVerifyPairing(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
CGO_NO_SANITIZE_THREAD
void
_cgo_63fc0c86ebe4_Cfunc_blsVerifyPop(void *v)
{
struct {
blsSignature const* p0;
blsPublicKey const* p1;
int r;
char __pad20[4];
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
char *_cgo_stktop = _cgo_topofstack();
__typeof__(_cgo_a->r) _cgo_r;
_cgo_tsan_acquire();
_cgo_r = blsVerifyPop(_cgo_a->p0, _cgo_a->p1);
_cgo_tsan_release();
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
_cgo_a->r = _cgo_r;
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment