/* 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-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-bearssl/bearssl/certs -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 -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/waku/v1/node -o nimcache/release/quicksim/@m..@s..@s..@svendor@snimcrypto@snimcrypto@sbcmode.nim.c.o nimcache/release/quicksim/@m..@s..@s..@svendor@snimcrypto@snimcrypto@sbcmode.nim.c */ #define NIM_INTBITS 64 #include "nimbase.h" #include #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_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg; typedef struct tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; typedef struct tyObject_ECB__38lQnqP7w5SFHX6DC3Yf9cg tyObject_ECB__38lQnqP7w5SFHX6DC3Yf9cg; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA; typedef struct tyObject_GCM__swj8qO3jH7GBGe3fbDsAcg tyObject_GCM__swj8qO3jH7GBGe3fbDsAcg; typedef NU64 tyArray__wa4ExhM0I5D0wQQmyrXAHA[120]; struct tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg {tyArray__wa4ExhM0I5D0wQQmyrXAHA skey; NI nr; }; typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32]; struct tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg {tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg cipher; tyArray__vEOa9c5qaE9ajWxR5R4zwfQg iv; tyArray__vEOa9c5qaE9ajWxR5R4zwfQg ecount; NU num; }; 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; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; struct tyObject_ECB__38lQnqP7w5SFHX6DC3Yf9cg {tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg cipher; }; struct TGenericSeq {NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE]; }; struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {NI a; NI b; }; typedef NU8 tyArray__qtqsWM5aXmcpMIVmvq3kAA[16]; struct tyObject_GCM__swj8qO3jH7GBGe3fbDsAcg {tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg cipher; tyArray__qtqsWM5aXmcpMIVmvq3kAA h; tyArray__qtqsWM5aXmcpMIVmvq3kAA y; tyArray__qtqsWM5aXmcpMIVmvq3kAA basectr; tyArray__qtqsWM5aXmcpMIVmvq3kAA buf; NU64 aadlen; NU64 datalen; }; N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); static N_INLINE(void, init__ncLAiTh9c5OPbFjYtm7E9bRgrijndael)(tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg* ctx, NU8* key_0, NI key_0Len_0); N_LIB_PRIVATE N_NIMCALL(void, keySchedule__qU9ajSZATA3cjXxH4Ok65pw)(tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg* ctx, NU8* key_0, NI key_0Len_0); N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___wCxLFNoF2DOiuJpFEiBO9cQ)(NU8* a, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0, NU8* b, NI bLen_0); static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(NI a, NI b); static N_INLINE(void, nimZeroMem)(void* p, NI size); static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size); N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError)(void); static N_INLINE(void, burnMem__xLUzUd5LSqKV1dZGoH9aHGwutils)(tyObject_GCM__swj8qO3jH7GBGe3fbDsAcg* a); N_LIB_PRIVATE N_NIMCALL(void, burnMem__haAOjkJjOuRy8ux9bV57dXw)(void* p_0, NI size); static N_INLINE(void, init__ncLAiTh9c5OPbFjYtm7E9bRg_2rijndael)(tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg* ctx, NU8* key_0, NI key_0Len_0); N_LIB_PRIVATE N_NIMCALL(void, keySchedule__qU9ajSZATA3cjXxH4Ok65pw_2)(tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg* ctx, NU8* key_0, NI key_0Len_0); N_LIB_PRIVATE N_NIMCALL(void, encrypt__5IhSwNYMkLuIObwT9aTBOyQ)(tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg* ctx, NU8* input, NI inputLen_0, NU8* output, NI outputLen_0); N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___s4flyT6Uh9bMkhepvoY0Nfw)(NU8* a, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0, NU8* b, NI bLen_0); N_LIB_PRIVATE N_NIMCALL(void, inc128__vRz5m42fv3XKwSYgATX55Q)(NU8* counter, NI counterLen_0); N_LIB_PRIVATE N_NIMCALL(void, ghash__X4DSCR48PTMirvM7X6t0iQ)(NU8* y_0, NI y_0Len_0, NU8* h_0, NI h_0Len_0, NU8* data_0, NI data_0Len_0); N_LIB_PRIVATE N_NIMCALL(NU64, rev64__PyoJnPerzCW9cAw3FQ1duJA)(NU64 x_0); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(NU64, bmul64__JuffK1qIeSJbbvmNAnUqMQ)(NU64 x_0, NU64 y_0); 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, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b); N_LIB_PRIVATE TNimType NTI__CSv7tJ1uWHDvWQ9cM87Zmdg_; extern TNimType NTI__P9ctyX6u5ZjparlFDMKF09bg_; extern TNimType NTI__vEOa9c5qaE9ajWxR5R4zwfQg_; extern TNimType NTI__hMQEc0FMry7Up7EoPki79aA_; N_LIB_PRIVATE TNimType NTI__38lQnqP7w5SFHX6DC3Yf9cg_; STRING_LITERAL(TM__40YfnbOcmramUFyaunCxCg_3, "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/" "bcmode.nim(455, 9) `\012ctx.sizeBlock() <= len(iv)` ", 112); STRING_LITERAL(TM__40YfnbOcmramUFyaunCxCg_4, "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/" "bcmode.nim(456, 9) `\012ctx.sizeKey() <= len(key)` ", 111); STRING_LITERAL(TM__40YfnbOcmramUFyaunCxCg_5, "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/" "bcmode.nim(457, 9) `ctx.sizeBlock <= MaxBlockSize` ", 114); STRING_LITERAL(TM__40YfnbOcmramUFyaunCxCg_6, "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/" "bcmode.nim(993, 9) `ctx.sizeBlock() == (128 div 8)` ", 115); STRING_LITERAL(TM__40YfnbOcmramUFyaunCxCg_7, "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/" "bcmode.nim(994, 9) `\012ctx.sizeKey() <= len(key)` ", 111); STRING_LITERAL(TM__40YfnbOcmramUFyaunCxCg_14, "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/" "bcmode.nim(1045, 9) `len(input) <= len(output)` ", 111); extern TNimType* nimTypeRoot; #line 421 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" N_LIB_PRIVATE N_NIMCALL(void, inc128__vRz5m42fv3XKwSYgATX55Q)(NU8* counter, NI counterLen_0) { NU32 n_1; NU32 c; #line 422 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" n_1 = ((NU32) 16); #line 423 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" c = ((NU32) 1); { #line 424 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" while (1) { #line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" n_1 -= ((NI) 1); #line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if ((NU)(n_1) >= (NU)(counterLen_0)){ raiseIndexError2(n_1,counterLen_0-1); } c = (NU32)((NU32)(c) + (NU32)(((NU32) (counter[n_1])))); if ((NU)(n_1) >= (NU)(counterLen_0)){ raiseIndexError2(n_1,counterLen_0-1); } #line 427 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" counter[n_1] = ((NU8) (c)); #line 428 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 428 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" c = (NU32)((NU32)(c) >> (NU64)(((NI) 8))); #line 429 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { #line 429 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!(n_1 == ((NU32) 0))) goto LA5_; #line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" goto LA1; } LA5_: ; } } LA1: ; } #line 432 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" N_LIB_PRIVATE N_NIMCALL(void, inc256__vRz5m42fv3XKwSYgATX55Q_2)(NU8* counter, NI counterLen_0) { NU32 n_1; NU32 c; #line 433 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" n_1 = ((NU32) 32); #line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" c = ((NU32) 1); { #line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" while (1) { #line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" n_1 -= ((NI) 1); #line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if ((NU)(n_1) >= (NU)(counterLen_0)){ raiseIndexError2(n_1,counterLen_0-1); } c = (NU32)((NU32)(c) + (NU32)(((NU32) (counter[n_1])))); if ((NU)(n_1) >= (NU)(counterLen_0)){ raiseIndexError2(n_1,counterLen_0-1); } #line 438 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" counter[n_1] = ((NU8) (c)); #line 439 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 439 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" c = (NU32)((NU32)(c) >> (NU64)(((NI) 8))); #line 440 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { #line 440 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!(n_1 == ((NU32) 0))) goto LA5_; #line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" goto LA1; } LA5_: ; } } LA1: ; } #line 1091 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/rijndael.nim" static N_INLINE(void, init__ncLAiTh9c5OPbFjYtm7E9bRgrijndael)(tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg* ctx, NU8* key_0, NI key_0Len_0) { #line 1092 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/rijndael.nim" #line 1092 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/rijndael.nim" keySchedule__qU9ajSZATA3cjXxH4Ok65pw(ctx, key_0, key_0Len_0); } #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 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___BokNSDrKN1xmV1nA01G9brAsystem)(NI a, NI b) { tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result; nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA)); #line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA)); result.a = a; result.b = b; return result;} #line 443 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" N_LIB_PRIVATE N_NIMCALL(void, init__A1epXaa8QSPgtdyVzI9aWSw)(tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg* ctx, NU8* key_0, NI key_0Len_0, NU8* iv_0, NI iv_0Len_0) { tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T13_; #line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { #line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!!((((NI) 16) <= iv_0Len_0))) goto LA3_; #line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 455 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__40YfnbOcmramUFyaunCxCg_3)); } LA3_: ; #line 456 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { #line 456 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 456 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 456 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!!((((NI) 16) <= key_0Len_0))) goto LA7_; #line 456 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 456 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__40YfnbOcmramUFyaunCxCg_4)); } LA7_: ; #line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { if (!NIM_FALSE) goto LA11_; #line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 457 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__40YfnbOcmramUFyaunCxCg_5)); } LA11_: ; #line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 458 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" init__ncLAiTh9c5OPbFjYtm7E9bRgrijndael((&(*ctx).cipher), key_0, key_0Len_0); #line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" T13_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 0), ((NI) 15)); if (((NI) 15)-((NI) 0) != -1 && ((NU)(((NI) 0)) >= (NU)(iv_0Len_0) || (NU)(((NI) 15)) >= (NU)(iv_0Len_0))){ raiseIndexError(); } #line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" X5BX5Deq___wCxLFNoF2DOiuJpFEiBO9cQ((*ctx).iv, T13_, (NU8*)(iv_0)+(((NI) 0)), (((NI) 15))-(((NI) 0))+1); } #line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" static N_INLINE(void, burnMem__xLUzUd5LSqKV1dZGoH9aHGwutils)(tyObject_GCM__swj8qO3jH7GBGe3fbDsAcg* a) { #line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" burnMem__haAOjkJjOuRy8ux9bV57dXw(((void*) (a)), ((NI) 1048)); } #line 1091 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/rijndael.nim" static N_INLINE(void, init__ncLAiTh9c5OPbFjYtm7E9bRg_2rijndael)(tyObject_RijndaelContext__P9ctyX6u5ZjparlFDMKF09bg* ctx, NU8* key_0, NI key_0Len_0) { #line 1092 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/rijndael.nim" #line 1092 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/rijndael.nim" keySchedule__qU9ajSZATA3cjXxH4Ok65pw_2(ctx, key_0, key_0Len_0); } #line 892 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" N_LIB_PRIVATE N_NIMCALL(NU64, rev64__PyoJnPerzCW9cAw3FQ1duJA)(NU64 x_0) { NU64 result; NU64 xx; result = (NU64)0; #line 893 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" xx = x_0; #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" xx = (NU64)((NU64)((NU64)((NU64)(xx & 6148914691236517205ULL)) << (NU64)(((NI) 1))) | (NU64)((NU64)((NU64)(xx) >> (NU64)(((NI) 1))) & 6148914691236517205ULL)); #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" xx = (NU64)((NU64)((NU64)((NU64)(xx & 3689348814741910323ULL)) << (NU64)(((NI) 2))) | (NU64)((NU64)((NU64)(xx) >> (NU64)(((NI) 2))) & 3689348814741910323ULL)); #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" xx = (NU64)((NU64)((NU64)((NU64)(xx & 1085102592571150095ULL)) << (NU64)(((NI) 4))) | (NU64)((NU64)((NU64)(xx) >> (NU64)(((NI) 4))) & 1085102592571150095ULL)); #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" xx = (NU64)((NU64)((NU64)((NU64)(xx & 71777214294589695ULL)) << (NU64)(((NI) 8))) | (NU64)((NU64)((NU64)(xx) >> (NU64)(((NI) 8))) & 71777214294589695ULL)); #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 890 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" xx = (NU64)((NU64)((NU64)((NU64)(xx & 281470681808895ULL)) << (NU64)(((NI) 16))) | (NU64)((NU64)((NU64)(xx) >> (NU64)(((NI) 16))) & 281470681808895ULL)); #line 899 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 899 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 899 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 899 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" result = (NU64)((NU64)((NU64)(xx) << (NU64)(((NI) 32))) | (NU64)((NU64)(xx) >> (NU64)(((NI) 32)))); return result;} #line 869 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" N_LIB_PRIVATE N_NIMCALL(NU64, bmul64__JuffK1qIeSJbbvmNAnUqMQ)(NU64 x_0, NU64 y_0) { NU64 result; NU64 x0; NU64 x1; NU64 x2; NU64 x3; NU64 y0; NU64 y1; NU64 y2; NU64 y3; NU64 z0; NU64 z1; NU64 z2; NU64 z3; result = (NU64)0; x0 = (NU64)0; x1 = (NU64)0; x2 = (NU64)0; x3 = (NU64)0; y0 = (NU64)0; y1 = (NU64)0; y2 = (NU64)0; y3 = (NU64)0; z0 = (NU64)0; z1 = (NU64)0; z2 = (NU64)0; z3 = (NU64)0; #line 871 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 871 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" x0 = (NU64)(x_0 & 1229782938247303441ULL); #line 872 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 872 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" x1 = (NU64)(x_0 & 2459565876494606882ULL); #line 873 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 873 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" x2 = (NU64)(x_0 & 4919131752989213764ULL); #line 874 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 874 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" x3 = (NU64)(x_0 & 9838263505978427528ULL); #line 875 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 875 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" y0 = (NU64)(y_0 & 1229782938247303441ULL); #line 876 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 876 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" y1 = (NU64)(y_0 & 2459565876494606882ULL); #line 877 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 877 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" y2 = (NU64)(y_0 & 4919131752989213764ULL); #line 878 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 878 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" y3 = (NU64)(y_0 & 9838263505978427528ULL); #line 879 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 879 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 879 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 879 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 879 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 879 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 879 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 879 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z0 = (NU64)((NU64)((NU64)((NU64)((NU64)(x0) * (NU64)(y0)) ^ (NU64)((NU64)(x1) * (NU64)(y3))) ^ (NU64)((NU64)(x2) * (NU64)(y2))) ^ (NU64)((NU64)(x3) * (NU64)(y1))); #line 880 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 880 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 880 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 880 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 880 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 880 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 880 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 880 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z1 = (NU64)((NU64)((NU64)((NU64)((NU64)(x0) * (NU64)(y1)) ^ (NU64)((NU64)(x1) * (NU64)(y0))) ^ (NU64)((NU64)(x2) * (NU64)(y3))) ^ (NU64)((NU64)(x3) * (NU64)(y2))); #line 881 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 881 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 881 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 881 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 881 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 881 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 881 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 881 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z2 = (NU64)((NU64)((NU64)((NU64)((NU64)(x0) * (NU64)(y2)) ^ (NU64)((NU64)(x1) * (NU64)(y1))) ^ (NU64)((NU64)(x2) * (NU64)(y0))) ^ (NU64)((NU64)(x3) * (NU64)(y3))); #line 882 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 882 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 882 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 882 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 882 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 882 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 882 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 882 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z3 = (NU64)((NU64)((NU64)((NU64)((NU64)(x0) * (NU64)(y3)) ^ (NU64)((NU64)(x1) * (NU64)(y2))) ^ (NU64)((NU64)(x2) * (NU64)(y1))) ^ (NU64)((NU64)(x3) * (NU64)(y0))); #line 883 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 883 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z0 = (NU64)(z0 & 1229782938247303441ULL); #line 884 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 884 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z1 = (NU64)(z1 & 2459565876494606882ULL); #line 885 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 885 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z2 = (NU64)(z2 & 4919131752989213764ULL); #line 886 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 886 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z3 = (NU64)(z3 & 9838263505978427528ULL); #line 887 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 887 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 887 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 887 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" result = (NU64)((NU64)((NU64)(z0 | z1) | z2) | z3); return result;} #line 901 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" N_LIB_PRIVATE N_NIMCALL(void, ghash__X4DSCR48PTMirvM7X6t0iQ)(NU8* y_0, NI y_0Len_0, NU8* h_0, NI h_0Len_0, NU8* data_0, NI data_0Len_0) { NU64 y0; NU64 y1; NU64 h0; NU64 h1; NU64 h2; NU64 h0r; NU64 h1r; NU64 h2r; NU64 pX60gensym82580056_; NU64 pX60gensym82590402_; NU64 pX60gensym82600402_; NU64 pX60gensym82610402_; NI length; NI offset; y0 = (NU64)0; y1 = (NU64)0; h0 = (NU64)0; h1 = (NU64)0; h2 = (NU64)0; h0r = (NU64)0; h1r = (NU64)0; h2r = (NU64)0; #line 905 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" if ((NU)(((NI) 0)) >= (NU)(y_0Len_0)){ raiseIndexError2(((NI) 0),y_0Len_0-1); } pX60gensym82580056_ = (*((NU64*) ((&y_0[((NI) 0)])))); #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" y1 = __builtin_bswap64(pX60gensym82580056_); #line 906 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" if ((NU)(((NI) 8)) >= (NU)(y_0Len_0)){ raiseIndexError2(((NI) 8),y_0Len_0-1); } pX60gensym82590402_ = (*((NU64*) ((&y_0[((NI) 8)])))); #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" y0 = __builtin_bswap64(pX60gensym82590402_); #line 907 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" if ((NU)(((NI) 0)) >= (NU)(h_0Len_0)){ raiseIndexError2(((NI) 0),h_0Len_0-1); } pX60gensym82600402_ = (*((NU64*) ((&h_0[((NI) 0)])))); #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" h1 = __builtin_bswap64(pX60gensym82600402_); #line 908 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" if ((NU)(((NI) 8)) >= (NU)(h_0Len_0)){ raiseIndexError2(((NI) 8),h_0Len_0-1); } pX60gensym82610402_ = (*((NU64*) ((&h_0[((NI) 8)])))); #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" h0 = __builtin_bswap64(pX60gensym82610402_); #line 909 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 909 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" h0r = rev64__PyoJnPerzCW9cAw3FQ1duJA(h0); #line 910 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 910 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" h1r = rev64__PyoJnPerzCW9cAw3FQ1duJA(h1); #line 911 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 911 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" h2 = (NU64)(h0 ^ h1); #line 912 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 912 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" h2r = (NU64)(h0r ^ h1r); #line 914 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 914 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" length = data_0Len_0; #line 915 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" offset = ((NI) 0); { #line 916 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" while (1) { tyArray__qtqsWM5aXmcpMIVmvq3kAA tmp; NU64 y0r; NU64 y1r; NU64 y2; NU64 y2r; NU64 z0; NU64 z1; NU64 z2; NU64 z0h; NU64 z1h; NU64 z2h; NU64 v0; NU64 v1; NU64 v2; NU64 v3; NU64 T13_; NU64 T14_; NU64 T15_; #line 916 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!(((NI) 0) < length)) goto LA2; nimZeroMem((void*)tmp, sizeof(tyArray__qtqsWM5aXmcpMIVmvq3kAA)); y0r = (NU64)0; y1r = (NU64)0; y2 = (NU64)0; y2r = (NU64)0; z0 = (NU64)0; z1 = (NU64)0; z2 = (NU64)0; z0h = (NU64)0; z1h = (NU64)0; z2h = (NU64)0; v0 = (NU64)0; v1 = (NU64)0; v2 = (NU64)0; v3 = (NU64)0; #line 921 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { NU64 pX60gensym82630002_; NU64 T7_; NU64 pX60gensym82640402_; NI TM__40YfnbOcmramUFyaunCxCg_8; NU64 T8_; NI TM__40YfnbOcmramUFyaunCxCg_9; NI TM__40YfnbOcmramUFyaunCxCg_10; #line 921 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!(((NI) 16) <= length)) goto LA5_; #line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" if ((NU)(offset) >= (NU)(data_0Len_0)){ raiseIndexError2(offset,data_0Len_0-1); } pX60gensym82630002_ = (*((NU64*) ((&data_0[offset])))); #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" T7_ = (NU64)0; T7_ = __builtin_bswap64(pX60gensym82630002_); y1 = (NU64)(y1 ^ T7_); #line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (nimAddInt(offset, ((NI) 8), &TM__40YfnbOcmramUFyaunCxCg_8)) { raiseOverflow(); }; if ((NU)((NI)(TM__40YfnbOcmramUFyaunCxCg_8)) >= (NU)(data_0Len_0)){ raiseIndexError2((NI)(TM__40YfnbOcmramUFyaunCxCg_8),data_0Len_0-1); } pX60gensym82640402_ = (*((NU64*) ((&data_0[(NI)(TM__40YfnbOcmramUFyaunCxCg_8)])))); #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" T8_ = (NU64)0; T8_ = __builtin_bswap64(pX60gensym82640402_); y0 = (NU64)(y0 ^ T8_); #line 924 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (nimSubInt(length, ((NI) 16), &TM__40YfnbOcmramUFyaunCxCg_9)) { raiseOverflow(); }; length = (NI)(TM__40YfnbOcmramUFyaunCxCg_9); #line 925 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (nimAddInt(offset, ((NI) 16), &TM__40YfnbOcmramUFyaunCxCg_10)) { raiseOverflow(); }; offset = (NI)(TM__40YfnbOcmramUFyaunCxCg_10); } goto LA3_; LA5_: ; { NI TM__40YfnbOcmramUFyaunCxCg_11; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T10_; NI TM__40YfnbOcmramUFyaunCxCg_12; NI TM__40YfnbOcmramUFyaunCxCg_13; NU64 pX60gensym82655636_; NU64 T11_; NU64 pX60gensym82665402_; NU64 T12_; #line 927 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 927 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 2406 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim" if (nimSubInt(length, ((NI) 1), &TM__40YfnbOcmramUFyaunCxCg_11)) { raiseOverflow(); }; #line 927 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" T10_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 0), (NI)(TM__40YfnbOcmramUFyaunCxCg_11)); #line 927 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 927 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (nimAddInt(offset, length, &TM__40YfnbOcmramUFyaunCxCg_12)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__40YfnbOcmramUFyaunCxCg_12), ((NI) 1), &TM__40YfnbOcmramUFyaunCxCg_13)) { raiseOverflow(); }; if ((NI)(TM__40YfnbOcmramUFyaunCxCg_13)-offset != -1 && ((NU)(offset) >= (NU)(data_0Len_0) || (NU)((NI)(TM__40YfnbOcmramUFyaunCxCg_13)) >= (NU)(data_0Len_0))){ raiseIndexError(); } #line 927 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" X5BX5Deq___s4flyT6Uh9bMkhepvoY0Nfw(tmp, T10_, (NU8*)(data_0)+(offset), ((NI)(TM__40YfnbOcmramUFyaunCxCg_13))-(offset)+1); #line 928 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 928 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" pX60gensym82655636_ = (*((NU64*) ((&tmp[(((NI) 0))- 0])))); #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" T11_ = (NU64)0; T11_ = __builtin_bswap64(pX60gensym82655636_); y1 = (NU64)(y1 ^ T11_); #line 929 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 929 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" pX60gensym82665402_ = (*((NU64*) ((&tmp[(((NI) 8))- 0])))); #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" T12_ = (NU64)0; T12_ = __builtin_bswap64(pX60gensym82665402_); y0 = (NU64)(y0 ^ T12_); #line 930 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" length = ((NI) 0); } LA3_: ; #line 932 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 932 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" y0r = rev64__PyoJnPerzCW9cAw3FQ1duJA(y0); #line 933 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 933 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" y1r = rev64__PyoJnPerzCW9cAw3FQ1duJA(y1); #line 934 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 934 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" y2 = (NU64)(y0 ^ y1); #line 935 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 935 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" y2r = (NU64)(y0r ^ y1r); #line 937 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 937 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z0 = bmul64__JuffK1qIeSJbbvmNAnUqMQ(y0, h0); #line 938 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 938 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z1 = bmul64__JuffK1qIeSJbbvmNAnUqMQ(y1, h1); #line 939 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 939 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z2 = bmul64__JuffK1qIeSJbbvmNAnUqMQ(y2, h2); #line 940 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 940 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z0h = bmul64__JuffK1qIeSJbbvmNAnUqMQ(y0r, h0r); #line 941 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 941 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z1h = bmul64__JuffK1qIeSJbbvmNAnUqMQ(y1r, h1r); #line 942 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 942 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z2h = bmul64__JuffK1qIeSJbbvmNAnUqMQ(y2r, h2r); #line 943 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 943 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 943 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z2 = (NU64)(z2 ^ (NU64)(z0 ^ z1)); #line 944 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 944 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 944 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" z2h = (NU64)(z2h ^ (NU64)(z0h ^ z1h)); #line 945 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 945 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 945 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 945 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" T13_ = (NU64)0; T13_ = rev64__PyoJnPerzCW9cAw3FQ1duJA(z0h); z0h = (NU64)((NU64)(T13_) >> (NU64)(((NI) 1))); #line 946 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 946 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 946 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 946 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" T14_ = (NU64)0; T14_ = rev64__PyoJnPerzCW9cAw3FQ1duJA(z1h); z1h = (NU64)((NU64)(T14_) >> (NU64)(((NI) 1))); #line 947 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 947 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 947 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 947 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" T15_ = (NU64)0; T15_ = rev64__PyoJnPerzCW9cAw3FQ1duJA(z2h); z2h = (NU64)((NU64)(T15_) >> (NU64)(((NI) 1))); #line 949 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v0 = z0; #line 950 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 950 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v1 = (NU64)(z0h ^ z2); #line 951 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 951 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v2 = (NU64)(z1 ^ z2h); #line 952 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v3 = z1h; #line 954 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 954 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 954 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 954 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v3 = (NU64)((NU64)((NU64)(v3) << (NU64)(((NI) 1))) | (NU64)((NU64)(v2) >> (NU64)(((NI) 63)))); #line 955 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 955 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 955 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 955 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v2 = (NU64)((NU64)((NU64)(v2) << (NU64)(((NI) 1))) | (NU64)((NU64)(v1) >> (NU64)(((NI) 63)))); #line 956 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 956 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 956 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 956 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v1 = (NU64)((NU64)((NU64)(v1) << (NU64)(((NI) 1))) | (NU64)((NU64)(v0) >> (NU64)(((NI) 63)))); #line 957 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 957 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v0 = (NU64)((NU64)(v0) << (NU64)(((NI) 1))); #line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v2 = (NU64)(v2 ^ (NU64)((NU64)((NU64)(v0 ^ (NU64)((NU64)(v0) >> (NU64)(((NI) 1)))) ^ (NU64)((NU64)(v0) >> (NU64)(((NI) 2)))) ^ (NU64)((NU64)(v0) >> (NU64)(((NI) 7))))); #line 960 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 960 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 960 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 960 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 960 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 960 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 960 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v1 = (NU64)(v1 ^ (NU64)((NU64)((NU64)((NU64)(v0) << (NU64)(((NI) 63))) ^ (NU64)((NU64)(v0) << (NU64)(((NI) 62)))) ^ (NU64)((NU64)(v0) << (NU64)(((NI) 57))))); #line 961 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 961 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 961 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 961 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 961 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 961 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 961 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 961 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v3 = (NU64)(v3 ^ (NU64)((NU64)((NU64)(v1 ^ (NU64)((NU64)(v1) >> (NU64)(((NI) 1)))) ^ (NU64)((NU64)(v1) >> (NU64)(((NI) 2)))) ^ (NU64)((NU64)(v1) >> (NU64)(((NI) 7))))); #line 962 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 962 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 962 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 962 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 962 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 962 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 962 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" v2 = (NU64)(v2 ^ (NU64)((NU64)((NU64)((NU64)(v1) << (NU64)(((NI) 63))) ^ (NU64)((NU64)(v1) << (NU64)(((NI) 62)))) ^ (NU64)((NU64)(v1) << (NU64)(((NI) 57))))); #line 964 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" y0 = v2; #line 965 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" y1 = v3; } LA2: ; } if ((NU)(((NI) 0)) >= (NU)(y_0Len_0)){ raiseIndexError2(((NI) 0),y_0Len_0-1); } #line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" (*((NU64*) ((&y_0[((NI) 0)])))) = __builtin_bswap64(y1); if ((NU)(((NI) 8)) >= (NU)(y_0Len_0)){ raiseIndexError2(((NI) 8),y_0Len_0-1); } #line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" (*((NU64*) ((&y_0[((NI) 8)])))) = __builtin_bswap64(y0);} #line 982 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" N_LIB_PRIVATE N_NIMCALL(void, init__PV9bFo1yGDWj6KrDorwEo7g)(tyObject_GCM__swj8qO3jH7GBGe3fbDsAcg* ctx, NU8* key_0, NI key_0Len_0, NU8* iv_0, NI iv_0Len_0, NU8* aad, NI aadLen_0) { #line 993 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { if (!NIM_FALSE) goto LA3_; #line 993 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 993 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__40YfnbOcmramUFyaunCxCg_6)); } LA3_: ; #line 994 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { #line 994 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 994 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 994 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!!((((NI) 32) <= key_0Len_0))) goto LA7_; #line 994 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 994 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__40YfnbOcmramUFyaunCxCg_7)); } LA7_: ; #line 995 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 995 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" burnMem__xLUzUd5LSqKV1dZGoH9aHGwutils(ctx); #line 996 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 996 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" init__ncLAiTh9c5OPbFjYtm7E9bRg_2rijndael((&(*ctx).cipher), key_0, key_0Len_0); #line 997 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 997 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" encrypt__5IhSwNYMkLuIObwT9aTBOyQ((&(*ctx).cipher), (*ctx).h, 16, (*ctx).h, 16); #line 998 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T13_; #line 998 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 998 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!(iv_0Len_0 == ((NI) 12))) goto LA11_; #line 999 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 999 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 999 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" T13_ = dotdot___BokNSDrKN1xmV1nA01G9brAsystem(((NI) 0), ((NI) 11)); if (((NI) 11)-((NI) 0) != -1 && ((NU)(((NI) 0)) >= (NU)(iv_0Len_0) || (NU)(((NI) 11)) >= (NU)(iv_0Len_0))){ raiseIndexError(); } #line 999 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" X5BX5Deq___s4flyT6Uh9bMkhepvoY0Nfw((*ctx).y, T13_, (NU8*)(iv_0)+(((NI) 0)), (((NI) 11))-(((NI) 0))+1); #line 1000 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1000 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" inc128__vRz5m42fv3XKwSYgATX55Q((*ctx).y, 16); } goto LA9_; LA11_: ; { tyArray__qtqsWM5aXmcpMIVmvq3kAA tmp; nimZeroMem((void*)tmp, sizeof(tyArray__qtqsWM5aXmcpMIVmvq3kAA)); #line 1003 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1003 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" ghash__X4DSCR48PTMirvM7X6t0iQ((*ctx).y, 16, (*ctx).h, 16, iv_0, iv_0Len_0); #line 373 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 1004 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1004 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 373 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" (*((NU32*) ((&tmp[(((NI) 12))- 0])))) = __builtin_bswap32(((NU32) ((NI)((NU64)(iv_0Len_0) << (NU64)(((NI) 3)))))); #line 1005 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (((NI) 15)-((NI) 0) != -1 && (((NI) 15)-((NI) 0) < -1 || ((NI) 0) < 0 || ((NI) 0) > 15 || ((NI) 15) < 0 || ((NI) 15) > 15)){ raiseIndexError(); } #line 1005 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" ghash__X4DSCR48PTMirvM7X6t0iQ((*ctx).y, 16, (*ctx).h, 16, (NU8*)((tmp)+(((NI) 0))), (((NI) 15))-(((NI) 0))+1); } LA9_: ; #line 1006 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1006 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" encrypt__5IhSwNYMkLuIObwT9aTBOyQ((&(*ctx).cipher), (*ctx).y, 16, (*ctx).basectr, 16); #line 1007 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1007 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" (*ctx).aadlen = ((NU64) (aadLen_0)); #line 1008 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" (*ctx).datalen = 0ULL; #line 1009 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { #line 1009 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1009 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!(((NI) 0) < aadLen_0)) goto LA17_; #line 1010 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1010 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" ghash__X4DSCR48PTMirvM7X6t0iQ((*ctx).buf, 16, (*ctx).h, 16, aad, aadLen_0); } LA17_: ; } #line 1036 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" N_LIB_PRIVATE N_NIMCALL(void, decrypt__mmarOaGspCgwpj8piDGuJA)(tyObject_GCM__swj8qO3jH7GBGe3fbDsAcg* ctx, NU8* input, NI inputLen_0, NU8* output, NI outputLen_0) { tyArray__qtqsWM5aXmcpMIVmvq3kAA ectr; NI length; NI offset; nimZeroMem((void*)ectr, sizeof(tyArray__qtqsWM5aXmcpMIVmvq3kAA)); #line 1045 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { #line 1045 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1045 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1045 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1045 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!!((inputLen_0 <= outputLen_0))) goto LA3_; #line 1045 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1045 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__40YfnbOcmramUFyaunCxCg_14)); } LA3_: ; #line 1047 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1047 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" length = inputLen_0; #line 1048 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" offset = ((NI) 0); #line 1049 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" (*ctx).datalen += ((NU64) (length)); { #line 1050 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" while (1) { NI uselen; NI TM__40YfnbOcmramUFyaunCxCg_18; NI TM__40YfnbOcmramUFyaunCxCg_19; NI TM__40YfnbOcmramUFyaunCxCg_20; NI TM__40YfnbOcmramUFyaunCxCg_21; #line 1050 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!(((NI) 0) < length)) goto LA6; #line 1051 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1051 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { #line 1051 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!(length < ((NI) 16))) goto LA9_; uselen = length; } goto LA7_; LA9_: ; { uselen = ((NI) 16); } LA7_: ; #line 1052 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1052 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" inc128__vRz5m42fv3XKwSYgATX55Q((*ctx).y, 16); #line 1053 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1053 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" encrypt__5IhSwNYMkLuIObwT9aTBOyQ((&(*ctx).cipher), (*ctx).y, 16, ectr, 16); { NI i; NI i_2; i = (NI)0; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" i_2 = ((NI) 0); { #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" while (1) { NI TM__40YfnbOcmramUFyaunCxCg_15; NI TM__40YfnbOcmramUFyaunCxCg_16; NI TM__40YfnbOcmramUFyaunCxCg_17; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (!(i_2 < uselen)) goto LA14; #line 1054 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" i = i_2; #line 1055 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (nimAddInt(offset, i, &TM__40YfnbOcmramUFyaunCxCg_15)) { raiseOverflow(); }; if ((NU)((NI)(TM__40YfnbOcmramUFyaunCxCg_15)) >= (NU)(outputLen_0)){ raiseIndexError2((NI)(TM__40YfnbOcmramUFyaunCxCg_15),outputLen_0-1); } #line 1055 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1055 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if ((NU)(i) > (NU)(15)){ raiseIndexError2(i, 15); } #line 1055 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (nimAddInt(offset, i, &TM__40YfnbOcmramUFyaunCxCg_16)) { raiseOverflow(); }; if ((NU)((NI)(TM__40YfnbOcmramUFyaunCxCg_16)) >= (NU)(inputLen_0)){ raiseIndexError2((NI)(TM__40YfnbOcmramUFyaunCxCg_16),inputLen_0-1); } output[(NI)(TM__40YfnbOcmramUFyaunCxCg_15)] = (NU8)(ectr[(i)- 0] ^ input[(NI)(TM__40YfnbOcmramUFyaunCxCg_16)]); #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (nimAddInt(i_2, ((NI) 1), &TM__40YfnbOcmramUFyaunCxCg_17)) { raiseOverflow(); }; i_2 = (NI)(TM__40YfnbOcmramUFyaunCxCg_17); } LA14: ; } } #line 1056 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1056 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1056 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (nimAddInt(offset, uselen, &TM__40YfnbOcmramUFyaunCxCg_18)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__40YfnbOcmramUFyaunCxCg_18), ((NI) 1), &TM__40YfnbOcmramUFyaunCxCg_19)) { raiseOverflow(); }; if ((NI)(TM__40YfnbOcmramUFyaunCxCg_19)-offset != -1 && ((NU)(offset) >= (NU)(inputLen_0) || (NU)((NI)(TM__40YfnbOcmramUFyaunCxCg_19)) >= (NU)(inputLen_0))){ raiseIndexError(); } #line 1056 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" ghash__X4DSCR48PTMirvM7X6t0iQ((*ctx).buf, 16, (*ctx).h, 16, (NU8*)(input)+(offset), ((NI)(TM__40YfnbOcmramUFyaunCxCg_19))-(offset)+1); #line 1057 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (nimSubInt(length, uselen, &TM__40YfnbOcmramUFyaunCxCg_20)) { raiseOverflow(); }; length = (NI)(TM__40YfnbOcmramUFyaunCxCg_20); #line 1058 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (nimAddInt(offset, uselen, &TM__40YfnbOcmramUFyaunCxCg_21)) { raiseOverflow(); }; offset = (NI)(TM__40YfnbOcmramUFyaunCxCg_21); } LA6: ; } } #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 1060 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" N_LIB_PRIVATE N_NIMCALL(void, getTag__sIxz6UiGTb9bbiDgR9bke9a4A)(tyObject_GCM__swj8qO3jH7GBGe3fbDsAcg* ctx, NU8* tag, NI tagLen_0) { NI taglen; NI uselen; tyArray__qtqsWM5aXmcpMIVmvq3kAA workbuf; #line 1065 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1065 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" taglen = tagLen_0; #line 1066 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1066 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { #line 1066 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!(taglen < ((NI) 16))) goto LA3_; uselen = taglen; } goto LA1_; LA3_: ; { uselen = ((NI) 16); } LA1_: ; nimZeroMem((void*)workbuf, sizeof(tyArray__qtqsWM5aXmcpMIVmvq3kAA)); #line 1068 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" { NI TM__40YfnbOcmramUFyaunCxCg_22; #line 1068 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if (!(((NI) 0) < taglen)) goto LA8_; #line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" if ((NU)(((NI) 0)) >= (NU)(tagLen_0)){ raiseIndexError2(((NI) 0),tagLen_0-1); } #line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" if (nimMulInt(uselen, ((NI) 1), &TM__40YfnbOcmramUFyaunCxCg_22)) { raiseOverflow(); }; if (((NI)(TM__40YfnbOcmramUFyaunCxCg_22)) < ((NI) 0) || ((NI)(TM__40YfnbOcmramUFyaunCxCg_22)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__40YfnbOcmramUFyaunCxCg_22), ((NI) 0), ((NI) IL64(9223372036854775807))); } #line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&tag[((NI) 0)]))), ((void*) ((&(*ctx).basectr[(((NI) 0))- 0]))), ((NI) ((NI)(TM__40YfnbOcmramUFyaunCxCg_22)))); } LA8_: ; #line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 1070 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" (*((NU64*) ((&workbuf[(((NI) 0))- 0])))) = __builtin_bswap64((NU64)((NU64)((*ctx).aadlen) << (NU64)(((NI) 3)))); #line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" #line 1071 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim" (*((NU64*) ((&workbuf[(((NI) 8))- 0])))) = __builtin_bswap64((NU64)((NU64)((*ctx).datalen) << (NU64)(((NI) 3)))); #line 1072 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1072 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" ghash__X4DSCR48PTMirvM7X6t0iQ((*ctx).buf, 16, (*ctx).h, 16, workbuf, 16); { NI i; NI i_2; i = (NI)0; #line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" i_2 = ((NI) 0); { #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" while (1) { NI TM__40YfnbOcmramUFyaunCxCg_23; #line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (!(i_2 < uselen)) goto LA12; #line 1073 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" i = i_2; if ((NU)(i) >= (NU)(tagLen_0)){ raiseIndexError2(i,tagLen_0-1); } #line 1074 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" #line 1074 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/bcmode.nim" if ((NU)(i) >= (NU)(tagLen_0)){ raiseIndexError2(i,tagLen_0-1); } if ((NU)(i) > (NU)(15)){ raiseIndexError2(i, 15); } tag[i] = (NU8)(tag[i] ^ (*ctx).buf[(i)- 0]); #line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim" if (nimAddInt(i_2, ((NI) 1), &TM__40YfnbOcmramUFyaunCxCg_23)) { raiseOverflow(); }; i_2 = (NI)(TM__40YfnbOcmramUFyaunCxCg_23); } LA12: ; } } } N_LIB_PRIVATE N_NIMCALL(void, nimcrypto_bcmodeDatInit000)(void) { #line 999999 "generated_not_to_break_here" static TNimNode* TM__40YfnbOcmramUFyaunCxCg_2_4[4]; static TNimNode TM__40YfnbOcmramUFyaunCxCg_0[6];NTI__CSv7tJ1uWHDvWQ9cM87Zmdg_.size = sizeof(tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg); NTI__CSv7tJ1uWHDvWQ9cM87Zmdg_.kind = 18; NTI__CSv7tJ1uWHDvWQ9cM87Zmdg_.base = 0; NTI__CSv7tJ1uWHDvWQ9cM87Zmdg_.flags = 3; NTI__CSv7tJ1uWHDvWQ9cM87Zmdg_.name = "CTR[rijndael.aes256]"; NTI__CSv7tJ1uWHDvWQ9cM87Zmdg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__CSv7tJ1uWHDvWQ9cM87Zmdg_; TM__40YfnbOcmramUFyaunCxCg_2_4[0] = &TM__40YfnbOcmramUFyaunCxCg_0[1]; TM__40YfnbOcmramUFyaunCxCg_0[1].kind = 1; TM__40YfnbOcmramUFyaunCxCg_0[1].offset = offsetof(tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg, cipher); TM__40YfnbOcmramUFyaunCxCg_0[1].typ = (&NTI__P9ctyX6u5ZjparlFDMKF09bg_); TM__40YfnbOcmramUFyaunCxCg_0[1].name = "cipher"; TM__40YfnbOcmramUFyaunCxCg_2_4[1] = &TM__40YfnbOcmramUFyaunCxCg_0[2]; TM__40YfnbOcmramUFyaunCxCg_0[2].kind = 1; TM__40YfnbOcmramUFyaunCxCg_0[2].offset = offsetof(tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg, iv); TM__40YfnbOcmramUFyaunCxCg_0[2].typ = (&NTI__vEOa9c5qaE9ajWxR5R4zwfQg_); TM__40YfnbOcmramUFyaunCxCg_0[2].name = "iv"; TM__40YfnbOcmramUFyaunCxCg_2_4[2] = &TM__40YfnbOcmramUFyaunCxCg_0[3]; TM__40YfnbOcmramUFyaunCxCg_0[3].kind = 1; TM__40YfnbOcmramUFyaunCxCg_0[3].offset = offsetof(tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg, ecount); TM__40YfnbOcmramUFyaunCxCg_0[3].typ = (&NTI__vEOa9c5qaE9ajWxR5R4zwfQg_); TM__40YfnbOcmramUFyaunCxCg_0[3].name = "ecount"; TM__40YfnbOcmramUFyaunCxCg_2_4[3] = &TM__40YfnbOcmramUFyaunCxCg_0[4]; TM__40YfnbOcmramUFyaunCxCg_0[4].kind = 1; TM__40YfnbOcmramUFyaunCxCg_0[4].offset = offsetof(tyObject_CTR__CSv7tJ1uWHDvWQ9cM87Zmdg, num); TM__40YfnbOcmramUFyaunCxCg_0[4].typ = (&NTI__hMQEc0FMry7Up7EoPki79aA_); TM__40YfnbOcmramUFyaunCxCg_0[4].name = "num"; TM__40YfnbOcmramUFyaunCxCg_0[0].len = 4; TM__40YfnbOcmramUFyaunCxCg_0[0].kind = 2; TM__40YfnbOcmramUFyaunCxCg_0[0].sons = &TM__40YfnbOcmramUFyaunCxCg_2_4[0]; NTI__CSv7tJ1uWHDvWQ9cM87Zmdg_.node = &TM__40YfnbOcmramUFyaunCxCg_0[0]; NTI__38lQnqP7w5SFHX6DC3Yf9cg_.size = sizeof(tyObject_ECB__38lQnqP7w5SFHX6DC3Yf9cg); NTI__38lQnqP7w5SFHX6DC3Yf9cg_.kind = 18; NTI__38lQnqP7w5SFHX6DC3Yf9cg_.base = 0; NTI__38lQnqP7w5SFHX6DC3Yf9cg_.flags = 3; NTI__38lQnqP7w5SFHX6DC3Yf9cg_.name = "ECB[rijndael.aes256]"; NTI__38lQnqP7w5SFHX6DC3Yf9cg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__38lQnqP7w5SFHX6DC3Yf9cg_; TM__40YfnbOcmramUFyaunCxCg_0[5].kind = 1; TM__40YfnbOcmramUFyaunCxCg_0[5].offset = offsetof(tyObject_ECB__38lQnqP7w5SFHX6DC3Yf9cg, cipher); TM__40YfnbOcmramUFyaunCxCg_0[5].typ = (&NTI__P9ctyX6u5ZjparlFDMKF09bg_); TM__40YfnbOcmramUFyaunCxCg_0[5].name = "cipher"; NTI__38lQnqP7w5SFHX6DC3Yf9cg_.node = &TM__40YfnbOcmramUFyaunCxCg_0[5]; }