mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-28 23:55:43 +00:00
634 lines
42 KiB
C
634 lines
42 KiB
C
/* Generated by Nim Compiler v1.2.6 */
|
|
/* (c) 2020 Andreas Rumpf */
|
|
/* The generated code is subject to the original license. */
|
|
/* Compiled for: Linux, amd64, gcc */
|
|
/* Command for C compiler:
|
|
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/miniupnp/miniupnpc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/libnatpmp-upstream -DENABLE_STRNATPMPERR -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/examples/v1 -o nimcache/release/example/@m..@s..@svendor@snim-eth@seth@skeys.nim.c.o nimcache/release/example/@m..@s..@svendor@snim-eth@seth@skeys.nim.c */
|
|
#define NIM_INTBITS 64
|
|
|
|
#include "nimbase.h"
|
|
#include <string.h>
|
|
#include "bearssl_rand.h"
|
|
#include "bearssl_hash.h"
|
|
#undef LANGUAGE_C
|
|
#undef MIPSEB
|
|
#undef MIPSEL
|
|
#undef PPC
|
|
#undef R3000
|
|
#undef R4000
|
|
#undef i386
|
|
#undef linux
|
|
#undef mips
|
|
#undef near
|
|
#undef far
|
|
#undef powerpc
|
|
#undef unix
|
|
#define nimfr_(x, y)
|
|
#define nimln_(x, y)
|
|
typedef struct tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ;
|
|
typedef struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA;
|
|
typedef struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ;
|
|
typedef struct NimStringDesc NimStringDesc;
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
typedef struct tyObject_SharedSecret__bM0XijkI0NMH9cNiAOpJ9aow tyObject_SharedSecret__bM0XijkI0NMH9cNiAOpJ9aow;
|
|
typedef struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w;
|
|
typedef struct tyObject_SkEcdhRawSecret__neSyoEb7ButpfRk3E5USXQ tyObject_SkEcdhRawSecret__neSyoEb7ButpfRk3E5USXQ;
|
|
typedef struct tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw;
|
|
typedef struct tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA;
|
|
typedef struct tyObject_secp256k1_ecdsa_recoverable_signature__OOP9ck9bXU6uuG4T9bRTry9a4w tyObject_secp256k1_ecdsa_recoverable_signature__OOP9ck9bXU6uuG4T9bRTry9a4w;
|
|
typedef struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw tyObject_MDigest__law9ct65KplMYBvtmjCQxbw;
|
|
typedef struct tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw;
|
|
typedef struct tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g;
|
|
typedef struct tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q;
|
|
typedef struct RootObj RootObj;
|
|
typedef struct TNimType TNimType;
|
|
typedef struct TNimNode TNimNode;
|
|
typedef struct tyObject_Result__RiDtbJ9c9bMKur729aT0dTxcA tyObject_Result__RiDtbJ9c9bMKur729aT0dTxcA;
|
|
typedef struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ tySequence__6H5Oh5UUvVCLiakt9aTwtUQ;
|
|
typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64];
|
|
struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
|
|
};
|
|
struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA {tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ data;
|
|
};
|
|
struct tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ {NIM_BOOL o;
|
|
union{
|
|
struct {NCSTRING e;
|
|
} _o_1;
|
|
struct {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
struct TGenericSeq {NI len;
|
|
NI reserved;
|
|
};
|
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
|
};
|
|
typedef NU8 tyArray__DqM3b17bbm0d9bCZr9c2fLDQ[65];
|
|
typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32];
|
|
struct tyObject_SharedSecret__bM0XijkI0NMH9cNiAOpJ9aow {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
|
|
};
|
|
typedef NU8 tyArray__1S3PkXs1i9a3odYVGYxTIlQ[33];
|
|
struct tyObject_SkEcdhRawSecret__neSyoEb7ButpfRk3E5USXQ {tyArray__1S3PkXs1i9a3odYVGYxTIlQ data;
|
|
};
|
|
struct tyObject_secp256k1_ecdsa_recoverable_signature__OOP9ck9bXU6uuG4T9bRTry9a4w {tyArray__DqM3b17bbm0d9bCZr9c2fLDQ data;
|
|
};
|
|
struct tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA {tyObject_secp256k1_ecdsa_recoverable_signature__OOP9ck9bXU6uuG4T9bRTry9a4w data;
|
|
};
|
|
struct tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw {NIM_BOOL o;
|
|
union{
|
|
struct {NCSTRING e;
|
|
} _o_1;
|
|
struct {tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
|
|
};
|
|
struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
|
|
};
|
|
struct tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw {NIM_BOOL o;
|
|
union{
|
|
struct {NCSTRING e;
|
|
} _o_1;
|
|
struct {tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
struct tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g {tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w seckey;
|
|
tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA pubkey;
|
|
};
|
|
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
|
|
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
|
|
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
|
|
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
|
|
struct TNimType {NI size;
|
|
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
|
|
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
|
|
TNimType* base;
|
|
TNimNode* node;
|
|
void* finalizer;
|
|
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
|
|
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
|
|
NCSTRING name;
|
|
TNimType* nextType;
|
|
NI instances;
|
|
NI sizes;
|
|
};
|
|
struct RootObj {TNimType* m_type;};
|
|
struct tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q { RootObj Sup;NI colonstate_;
|
|
br_hmac_drbg_context* rngPtr1;
|
|
};
|
|
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
|
|
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
|
|
NI offset;
|
|
TNimType* typ;
|
|
NCSTRING name;
|
|
NI len;
|
|
TNimNode** sons;
|
|
};
|
|
typedef struct {
|
|
N_NIMCALL_PTR(void, ClP_0) (NU8* data_0, NI data_0Len_0, void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__2eQPaS8XIidfzb11dDC4nw;
|
|
typedef unsigned char tyArray__A1SHJCPZVISPTujoygIPEQ[64];
|
|
typedef N_CDECL_PTR(int, tyProc__8515EaYVeX8ph3fGJmTq3w) (br_prng_class** ctx);
|
|
struct tyObject_Result__RiDtbJ9c9bMKur729aT0dTxcA {NIM_BOOL o;
|
|
union{
|
|
struct {NCSTRING e;
|
|
} _o_1;
|
|
struct {tySequence__6H5Oh5UUvVCLiakt9aTwtUQ* v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
typedef N_CDECL_PTR(void, tyProc__3qI9bVHqiq07sTQRU9bkkkYQ) (br_prng_class** ctx, void* params, void* seed, NI seedLen);
|
|
typedef N_CDECL_PTR(void, tyProc__hquUwNr88w4T5ldt8BqLLQ) (br_prng_class** ctx, void* out_0, NI len_0);
|
|
typedef N_CDECL_PTR(void, tyProc__bF2JFxTs1q6Lq365NU79a2Q) (br_hash_class** ctx);
|
|
typedef N_CDECL_PTR(void, tyProc__Dc9br5a6SHw9cxie3cas0KTA) (br_hash_class** ctx, void* data_0, NI len_0);
|
|
typedef N_CDECL_PTR(void, tyProc__JETfgzvEnx6Tz9bYRct9a51g) (br_hash_class** ctx, void* dst);
|
|
typedef N_CDECL_PTR(NU64, tyProc__e9bd9aJH2sCZh75q9aAcv7ylg) (br_hash_class** ctx, void* dst);
|
|
typedef N_CDECL_PTR(void, tyProc__g9c2vH2tlPaPmvfTZ3PeWQQ) (br_hash_class** ctx, void* stb, NU64 count_0);
|
|
struct tySequence__6H5Oh5UUvVCLiakt9aTwtUQ { TGenericSeq Sup; NU8 data[SEQ_DECL_SIZE];};static N_INLINE(void, nimZeroMem)(void* p, NI size);
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
|
|
static N_INLINE(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, mapConvert__2DutQRSVWswCB4BH3DtizAresults)(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ* self);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, fromRaw__wuoqSv069a0hw79btLKQagEg)(NU8* data_0, NI data_0Len_0);
|
|
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
|
|
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkEcdhRawSecret__neSyoEb7ButpfRk3E5USXQ, ecdhRaw__5dXMEJJpJ79cGRn35x426uw)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* seckey, tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* pubkey);
|
|
static N_INLINE(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw, mapConvert__8HzAcchvpyJhRHK9bYKomYwresults)(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw* self);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw, fromRaw__9c9c9bDx6zjYidVWp8PlL9c21Q)(NU8* data_0, NI data_0Len_0);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw, digest__kUuxyH0Wbp0DnT9anHK9b9c2g)(NU8* data_0, NI data_0Len_0);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, recover__bxhUvNDVkxv57adfENGDYA)(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA* sig, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg msg);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, recover__mShg1phNf9aGA6bviy9ajdMQ)(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA* sig, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg msg);
|
|
static N_INLINE(NimStringDesc*, toHex__WZR7PQRd3CyFIbwX5SDWPAbyteutils)(tyArray__w5VB8h5K8DB3oWrO5U2wqg ba);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toHexAux__mTF3iGytPXR76nCDQ9aqz9cw)(NU8* ba, NI baLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, toRaw__W9bYIkOOHQ8dZSTz9aIjEPEQ)(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* pubkey, tyArray__w5VB8h5K8DB3oWrO5U2wqg Result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, toRaw__bCgy0bI8LIRIvVpAjgBPMg)(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* pubkey, tyArray__DqM3b17bbm0d9bCZr9c2fLDQ Result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, toRaw__QU8um79aWTK6cAEMtJp8d7g)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* seckey, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg Result);
|
|
static N_INLINE(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw, mapConvert__rQr9ch9bqmw39cr2tA9biFAuowresults)(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw* self);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw, fromHex__Dz25eGYljBkFfB72Ep2F3Q)(NimStringDesc* data_0);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA, toPublicKey__dZX6pG1PJuze9ctWTRA1ENw)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* key_0);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w, random__pJ2doYDmdqPuNiIuwUmJ4w)(br_hmac_drbg_context* rng_0);
|
|
static N_NIMCALL(void, Marker_tyRef__KHHquxSoY3JWz0nX5DbfmQ)(void* p, NI op);
|
|
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w, random__0zyuItkuaHgarDWONXkbnQ)(tyProc__2eQPaS8XIidfzb11dDC4nw rng_0);
|
|
N_LIB_PRIVATE N_CLOSURE(void, callRng__ZB19agXKjnWjgtU9chW9bidfw)(NU8* data_0, NI data_0Len_0, void* ClE_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, brHmacDrbgGenerate__jb39atYOOGTT2cdYx6onnSw)(br_hmac_drbg_context* ctx, NU8* outp, NI outpLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, fromRaw__09bVO0j5Htfp2zQRd1AkcpQ)(NU8* data_0, NI data_0Len_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, fromHex__ntbsobXtags6pLsk9bwXV6w)(NimStringDesc* s_0, tyObject_Result__RiDtbJ9c9bMKur729aT0dTxcA* Result);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA, signRecoverable__IwAS2SrVpsuq9cMsnSkCo9bg)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* key_0, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg msg);
|
|
static N_INLINE(void, burnArray__r09aJbNPNlBz6C6oCg8JTCQutils)(NU8* a, NI aLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, burnMem__haAOjkJjOuRy8ux9bV57dXw)(void* p_0, NI size);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
|
|
N_LIB_PRIVATE N_NIMCALL(void, clear__SUUlrlmThH3QBhFxLMBReQ)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* v);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA, sign__lPU7k80HwQHA1fuDIlCa3A)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* seckey, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg msg);
|
|
STRING_LITERAL(TM__M68nGWgBGfdRpIiz8SqAwg_2, "\'v\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
|
|
STRING_LITERAL(TM__M68nGWgBGfdRpIiz8SqAwg_3, "\'e\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
|
|
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
|
|
N_LIB_PRIVATE TNimType NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_;
|
|
extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
|
|
extern TNimType NTI__P862mCDAUrlG5aF5HvxacQ_;
|
|
N_LIB_PRIVATE TNimType NTI__KHHquxSoY3JWz0nX5DbfmQ_;
|
|
extern TNimType NTI__RuNvFuo5ptASsihINNteSw_;
|
|
extern TNimType* nimTypeRoot;
|
|
|
|
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
|
|
}
|
|
|
|
#line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
static N_INLINE(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, mapConvert__2DutQRSVWswCB4BH3DtizAresults)(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ* self) { tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ result; nimZeroMem((void*)(&result), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ));
|
|
#line 370 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ T5_; if (!(*self).o) goto LA3_;
|
|
|
|
#line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
nimZeroMem((void*)(&T5_), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ)); T5_.o = NIM_TRUE; if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__M68nGWgBGfdRpIiz8SqAwg_2)); } T5_._o_2.v = (*self)._o_2.v; result = T5_; }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ T7_;
|
|
#line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
nimZeroMem((void*)(&T7_), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ)); T7_.o = NIM_FALSE; if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__M68nGWgBGfdRpIiz8SqAwg_3)); } T7_._o_1.e = (*self)._o_1.e; result = T7_; }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_;
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));}
|
|
|
|
#line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
|
|
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
nimCopyMem(dest, source, size);
|
|
}
|
|
|
|
#line 86 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, fromRaw__09bVO0j5Htfp2zQRd1AkcpQ)(NU8* data_0, NI data_0Len_0) { tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ result; tyArray__DqM3b17bbm0d9bCZr9c2fLDQ d; tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ T10_;{ nimZeroMem((void*)(&result), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ));
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
{ tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ T5_;
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 87 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
if (!(data_0Len_0 == ((NI) 33))) goto LA3_;
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
T5_ = fromRaw__wuoqSv069a0hw79btLKQagEg(data_0, data_0Len_0);
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = mapConvert__2DutQRSVWswCB4BH3DtizAresults((&T5_)); goto BeforeRet_;
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
{
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
if (!(data_0Len_0 < ((NI) 64))) goto LA8_;
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ)); result.o = NIM_FALSE; result._o_1.e = "keys: raw eth public key should be 64 bytes"; goto BeforeRet_;
|
|
}
|
|
LA8_: ;
|
|
nimZeroMem((void*)d, sizeof(tyArray__DqM3b17bbm0d9bCZr9c2fLDQ));
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
d[(((NI) 0))- 0] = ((NU8) 4);
|
|
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
if ((NU)(((NI) 0)) >= (NU)(data_0Len_0)){ raiseIndexError2(((NI) 0),data_0Len_0-1); }
|
|
#line 96 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&d[(((NI) 1))- 0]))), ((void*) ((&data_0[((NI) 0)]))), ((NI) 64));
|
|
|
|
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
T10_ = fromRaw__wuoqSv069a0hw79btLKQagEg(d, 65);
|
|
#line 98 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = mapConvert__2DutQRSVWswCB4BH3DtizAresults((&T10_)); }BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SharedSecret__bM0XijkI0NMH9cNiAOpJ9aow, ecdhRaw__Z9c2Pt1C0AACD1C2XnBvKAA)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* seckey, tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* pubkey) { tyObject_SharedSecret__bM0XijkI0NMH9cNiAOpJ9aow result; tyObject_SkEcdhRawSecret__neSyoEb7ButpfRk3E5USXQ tmp; nimZeroMem((void*)(&result), sizeof(tyObject_SharedSecret__bM0XijkI0NMH9cNiAOpJ9aow));
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
tmp = ecdhRaw__5dXMEJJpJ79cGRn35x426uw(seckey, pubkey);
|
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&result.data[(((NI) 0))- 0]))), ((void*) ((&tmp.data[(((NI) 1))- 0]))), ((NI) 32));
|
|
return result;}
|
|
|
|
#line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
static N_INLINE(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw, mapConvert__8HzAcchvpyJhRHK9bYKomYwresults)(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw* self) { tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw result; nimZeroMem((void*)(&result), sizeof(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw));
|
|
#line 370 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw T5_; if (!(*self).o) goto LA3_;
|
|
|
|
#line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
nimZeroMem((void*)(&T5_), sizeof(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw)); T5_.o = NIM_TRUE; if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__M68nGWgBGfdRpIiz8SqAwg_2)); } T5_._o_2.v = (*self)._o_2.v; result = T5_; }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw T7_;
|
|
#line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
nimZeroMem((void*)(&T7_), sizeof(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw)); T7_.o = NIM_FALSE; if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__M68nGWgBGfdRpIiz8SqAwg_3)); } T7_._o_1.e = (*self)._o_1.e; result = T7_; }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw, fromRaw__Zx9bL0c4s8bWeostmBWcxlw)(NU8* data_0, NI data_0Len_0) { tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw result; tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw T1_; nimZeroMem((void*)(&result), sizeof(tyObject_Result__0DXHAdhUE9c5bTPtcTa9bGcw));
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
T1_ = fromRaw__9c9c9bDx6zjYidVWp8PlL9c21Q(data_0, data_0Len_0);
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = mapConvert__8HzAcchvpyJhRHK9bYKomYwresults((&T1_)); return result;}
|
|
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, recover__bxhUvNDVkxv57adfENGDYA)(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA* sig, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg msg) { tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ result; tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ T1_; nimZeroMem((void*)(&result), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ));
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
T1_ = recover__mShg1phNf9aGA6bviy9ajdMQ(sig, msg);
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = mapConvert__2DutQRSVWswCB4BH3DtizAresults((&T1_)); return result;}
|
|
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, recover__9a61FXOqVqrA7yJk9cxPOcWA)(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA* sig, NU8* msg, NI msgLen_0) { tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ result; tyObject_MDigest__law9ct65KplMYBvtmjCQxbw hash_1; nimZeroMem((void*)(&result), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ));
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
hash_1 = digest__kUuxyH0Wbp0DnT9anHK9b9c2g(msg, msgLen_0);
|
|
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = recover__bxhUvNDVkxv57adfENGDYA(sig, hash_1.data); return result;}
|
|
|
|
#line 131 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
|
|
static N_INLINE(NimStringDesc*, toHex__WZR7PQRd3CyFIbwX5SDWPAbyteutils)(tyArray__w5VB8h5K8DB3oWrO5U2wqg ba) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 132 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
|
|
|
|
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
|
|
|
|
#line 135 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/byteutils.nim"
|
|
result = toHexAux__mTF3iGytPXR76nCDQ9aqz9cw(ba, 64); return result;}
|
|
|
|
#line 103 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, toRaw__W9bYIkOOHQ8dZSTz9aIjEPEQ)(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* pubkey, tyArray__w5VB8h5K8DB3oWrO5U2wqg Result) { tyArray__DqM3b17bbm0d9bCZr9c2fLDQ tmp; chckNil((void*)Result); nimZeroMem((void*)Result, sizeof(tyArray__w5VB8h5K8DB3oWrO5U2wqg)); nimZeroMem((void*)tmp, sizeof(tyArray__DqM3b17bbm0d9bCZr9c2fLDQ));
|
|
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 104 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
toRaw__bCgy0bI8LIRIvVpAjgBPMg(pubkey, tmp);
|
|
|
|
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 105 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&Result[(((NI) 0))- 0]))), ((void*) ((&tmp[(((NI) 1))- 0]))), ((NI) 64));
|
|
}
|
|
|
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___sCk67mWMaXubq9aFhJ4e9cXw)(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* pubkey) { NimStringDesc* result; tyArray__w5VB8h5K8DB3oWrO5U2wqg T1_; result = (NimStringDesc*)0;
|
|
#line 191 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
nimZeroMem((void*)T1_, sizeof(tyArray__w5VB8h5K8DB3oWrO5U2wqg)); toRaw__W9bYIkOOHQ8dZSTz9aIjEPEQ(pubkey, T1_);
|
|
|
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = toHex__WZR7PQRd3CyFIbwX5SDWPAbyteutils(T1_); return result;}
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, toRaw__A1jy5RjxYg9aCVFRbqZKqvA)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* seckey, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg Result) { tyArray__vEOa9c5qaE9ajWxR5R4zwfQg T1_;
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
nimZeroMem((void*)T1_, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg)); toRaw__QU8um79aWTK6cAEMtJp8d7g(seckey, T1_);
|
|
nimCopyMem((void*)Result, (NIM_CONST void*)T1_, sizeof(tyArray__vEOa9c5qaE9ajWxR5R4zwfQg));}
|
|
|
|
#line 366 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
static N_INLINE(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw, mapConvert__rQr9ch9bqmw39cr2tA9biFAuowresults)(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw* self) { tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw result; nimZeroMem((void*)(&result), sizeof(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw));
|
|
#line 370 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw T5_; if (!(*self).o) goto LA3_;
|
|
|
|
#line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
nimZeroMem((void*)(&T5_), sizeof(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw)); T5_.o = NIM_TRUE; if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__M68nGWgBGfdRpIiz8SqAwg_2)); } T5_._o_2.v = (*self)._o_2.v; result = T5_; }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw T7_;
|
|
#line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
nimZeroMem((void*)(&T7_), sizeof(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw)); T7_.o = NIM_FALSE; if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__M68nGWgBGfdRpIiz8SqAwg_3)); } T7_._o_1.e = (*self)._o_1.e; result = T7_; }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw, fromHex__JyTDQKLqZUhgJSRep08HyA)(NimStringDesc* data_0) { tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw result; tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw T1_; nimZeroMem((void*)(&result), sizeof(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw));
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
T1_ = fromHex__Dz25eGYljBkFfB72Ep2F3Q(data_0);
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = mapConvert__rQr9ch9bqmw39cr2tA9biFAuowresults((&T1_)); return result;}
|
|
|
|
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g, toKeyPair__pcIce9a0GEKVbUxYMEcDA8w)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* seckey) { tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g result; nimZeroMem((void*)(&result), sizeof(tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g));
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g)); result.seckey = (*seckey);
|
|
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result.pubkey = toPublicKey__dZX6pG1PJuze9ctWTRA1ENw(seckey); return result;}
|
|
static N_NIMCALL(void, Marker_tyRef__KHHquxSoY3JWz0nX5DbfmQ)(void* p, NI op) {
|
|
tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q* a;
|
|
a = (tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q*)p;
|
|
}
|
|
|
|
#line 70 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_CLOSURE(void, callRng__ZB19agXKjnWjgtU9chW9bidfw)(NU8* data_0, NI data_0Len_0, void* ClE_0) { tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q* colonenvP_; colonenvP_ = (tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q*) ClE_0;
|
|
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 71 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
brHmacDrbgGenerate__jb39atYOOGTT2cdYx6onnSw((*colonenvP_).rngPtr1, data_0, data_0Len_0);
|
|
}
|
|
|
|
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w, random__pJ2doYDmdqPuNiIuwUmJ4w)(br_hmac_drbg_context* rng_0) { tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w result; tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q* colonenv_; tyProc__2eQPaS8XIidfzb11dDC4nw T1_; nimZeroMem((void*)(&result), sizeof(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w)); colonenv_ = (tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q*)0;
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
colonenv_ = (tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q*) newObj((&NTI__KHHquxSoY3JWz0nX5DbfmQ_), sizeof(tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q)); (*colonenv_).Sup.m_type = (&NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_);
|
|
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
(*colonenv_).rngPtr1 = rng_0;
|
|
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
nimZeroMem((void*)(&T1_), sizeof(tyProc__2eQPaS8XIidfzb11dDC4nw)); T1_.ClP_0 = callRng__ZB19agXKjnWjgtU9chW9bidfw; T1_.ClE_0 = colonenv_;
|
|
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = random__0zyuItkuaHgarDWONXkbnQ(T1_); return result;}
|
|
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g, random__HS5tU9cyelo6UXEHvWOYUFg)(br_hmac_drbg_context* rng_0) { tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g result; tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w seckey; nimZeroMem((void*)(&result), sizeof(tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g));
|
|
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 110 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
seckey = random__pJ2doYDmdqPuNiIuwUmJ4w(rng_0); chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g)); result.seckey = seckey;
|
|
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result.pubkey = toPublicKey__dZX6pG1PJuze9ctWTRA1ENw((&seckey)); return result;}
|
|
|
|
#line 54 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(br_hmac_drbg_context*, newRng__9cKaYUOzNpI6Cw7CIYoErTQ)(void) { br_hmac_drbg_context* result; tyProc__8515EaYVeX8ph3fGJmTq3w seeder; br_hmac_drbg_context* rng_1; br_hmac_drbg_context* T5_;{ result = (br_hmac_drbg_context*)0;
|
|
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 58 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
seeder = br_prng_seeder_system(NIM_NIL);
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
{
|
|
#line 59 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
if (!(seeder == NIM_NIL)) goto LA3_;
|
|
|
|
#line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 60 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = NIM_NIL; goto BeforeRet_;
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 62 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
T5_ = (br_hmac_drbg_context*)0; T5_ = (br_hmac_drbg_context*) newObj((&NTI__RuNvFuo5ptASsihINNteSw_), sizeof(br_hmac_drbg_context)); rng_1 = T5_;
|
|
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 63 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
br_hmac_drbg_init(rng_1, (&br_sha256_vtable), NIM_NIL, ((NI) 0));
|
|
|
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
{ int T8_;
|
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 64 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
T8_ = (int)0; T8_ = seeder(&(*rng_1).vtable); if (!(T8_ == ((NI32) 0))) goto LA9_;
|
|
|
|
#line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 65 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = NIM_NIL; goto BeforeRet_;
|
|
}
|
|
LA9_: ;
|
|
result = rng_1; }BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 100 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ, fromHex__LzknCLHfLV4bCCc8XinCGQ)(NimStringDesc* data_0) { tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ result; tyObject_Result__RiDtbJ9c9bMKur729aT0dTxcA vX60gensym41850035_;{ nimZeroMem((void*)(&result), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ));
|
|
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
nimZeroMem((void*)(&vX60gensym41850035_), sizeof(tyObject_Result__RiDtbJ9c9bMKur729aT0dTxcA));
|
|
#line 657 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
fromHex__ntbsobXtags6pLsk9bwXV6w(data_0, (&vX60gensym41850035_));
|
|
|
|
#line 658 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{
|
|
#line 658 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!!(vX60gensym41850035_.o)) goto LA3_;
|
|
|
|
#line 662 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 662 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ)); result.o = NIM_FALSE; if (!(((1 &(1U<<((NU)(vX60gensym41850035_.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__M68nGWgBGfdRpIiz8SqAwg_3)); } result._o_1.e = vX60gensym41850035_._o_1.e; goto BeforeRet_;
|
|
}
|
|
LA3_: ;
|
|
if (!(((2 &(1U<<((NU)(vX60gensym41850035_.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__M68nGWgBGfdRpIiz8SqAwg_2)); }
|
|
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = fromRaw__09bVO0j5Htfp2zQRd1AkcpQ(vX60gensym41850035_._o_2.v->data, (vX60gensym41850035_._o_2.v ? vX60gensym41850035_._o_2.v->Sup.len : 0)); }BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 213 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA, sign__lPU7k80HwQHA1fuDIlCa3A)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* seckey, tyArray__vEOa9c5qaE9ajWxR5R4zwfQg msg) { tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA result; nimZeroMem((void*)(&result), sizeof(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA));
|
|
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = signRecoverable__IwAS2SrVpsuq9cMsnSkCo9bg(seckey, msg); return result;}
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
static N_INLINE(void, burnArray__r09aJbNPNlBz6C6oCg8JTCQutils)(NU8* a, NI aLen_0) {
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
{ NI TM__M68nGWgBGfdRpIiz8SqAwg_5;
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
if (!(((NI) 0) < aLen_0)) goto LA3_;
|
|
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
if ((NU)(((NI) 0)) >= (NU)(aLen_0)){ raiseIndexError2(((NI) 0),aLen_0-1); }
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
if (nimMulInt(aLen_0, ((NI) 1), &TM__M68nGWgBGfdRpIiz8SqAwg_5)) { raiseOverflow(); }; if (((NI)(TM__M68nGWgBGfdRpIiz8SqAwg_5)) < ((NI) 0) || ((NI)(TM__M68nGWgBGfdRpIiz8SqAwg_5)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__M68nGWgBGfdRpIiz8SqAwg_5), ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
burnMem__haAOjkJjOuRy8ux9bV57dXw(((void*) ((&a[((NI) 0)]))), ((NI) ((NI)(TM__M68nGWgBGfdRpIiz8SqAwg_5))));
|
|
}
|
|
LA3_: ;
|
|
}
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, clear__Exywi8FRTgke48MrQEzXSw)(tyObject_SharedSecret__bM0XijkI0NMH9cNiAOpJ9aow* v) {
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
burnArray__r09aJbNPNlBz6C6oCg8JTCQutils((*v).data, 32);
|
|
}
|
|
|
|
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, clear__zR0Ao5CGtmWCyIBiRKQV1A)(tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g* v) {
|
|
#line 208 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 208 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
clear__SUUlrlmThH3QBhFxLMBReQ((&(*v).seckey));
|
|
}
|
|
|
|
#line 216 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA, sign__EnvJquxZs9aCJYufWzauE3A)(tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w* seckey, NU8* msg, NI msgLen_0) { tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA result; tyObject_MDigest__law9ct65KplMYBvtmjCQxbw hash_1; nimZeroMem((void*)(&result), sizeof(tyObject_SkRecoverableSignature__uOAg5bLjCmhDkxZdWSR9buA));
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
hash_1 = digest__kUuxyH0Wbp0DnT9anHK9b9c2g(msg, msgLen_0);
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nim-eth/eth/keys.nim"
|
|
result = sign__lPU7k80HwQHA1fuDIlCa3A(seckey, hash_1.data); return result;}
|
|
N_LIB_PRIVATE N_NIMCALL(void, eth_keysDatInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
static TNimNode* TM__M68nGWgBGfdRpIiz8SqAwg_4_2[2];
|
|
static TNimNode TM__M68nGWgBGfdRpIiz8SqAwg_0[3];NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_.size = sizeof(tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q);
|
|
NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_.kind = 17;
|
|
NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
|
|
NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_.flags = 1;
|
|
NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_.name = "object";
|
|
NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_.nextType = nimTypeRoot; nimTypeRoot=&NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_;
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_4_2[0] = &TM__M68nGWgBGfdRpIiz8SqAwg_0[1];
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_0[1].kind = 1;
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_0[1].offset = offsetof(tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q, colonstate_);
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_0[1].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_0[1].name = ":state";
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_4_2[1] = &TM__M68nGWgBGfdRpIiz8SqAwg_0[2];
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_0[2].kind = 1;
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_0[2].offset = offsetof(tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q, rngPtr1);
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_0[2].typ = (&NTI__P862mCDAUrlG5aF5HvxacQ_);
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_0[2].name = "rngPtr1";
|
|
TM__M68nGWgBGfdRpIiz8SqAwg_0[0].len = 2; TM__M68nGWgBGfdRpIiz8SqAwg_0[0].kind = 2; TM__M68nGWgBGfdRpIiz8SqAwg_0[0].sons = &TM__M68nGWgBGfdRpIiz8SqAwg_4_2[0];
|
|
NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_.node = &TM__M68nGWgBGfdRpIiz8SqAwg_0[0];
|
|
NTI__KHHquxSoY3JWz0nX5DbfmQ_.size = sizeof(tyObject_Env_keysdotnim___tHzJDR2mlN9ayrQ3Mg5BW5Q*);
|
|
NTI__KHHquxSoY3JWz0nX5DbfmQ_.kind = 22;
|
|
NTI__KHHquxSoY3JWz0nX5DbfmQ_.base = (&NTI__tHzJDR2mlN9ayrQ3Mg5BW5Q_);
|
|
NTI__KHHquxSoY3JWz0nX5DbfmQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
|
|
"/nim-eth/eth/keys.nim(73, 24)";
|
|
NTI__KHHquxSoY3JWz0nX5DbfmQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__KHHquxSoY3JWz0nX5DbfmQ_;
|
|
NTI__KHHquxSoY3JWz0nX5DbfmQ_.marker = Marker_tyRef__KHHquxSoY3JWz0nX5DbfmQ;
|
|
}
|
|
|