mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-17 02:11:30 +00:00
1947 lines
116 KiB
C
1947 lines
116 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-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-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/v2/node -o nimcache/release/start_network2/@m..@s..@s..@svendor@snimcrypto@snimcrypto@sblake2.nim.c.o nimcache/release/start_network2/@m..@s..@s..@svendor@snimcrypto@snimcrypto@sblake2.nim.c */
|
|
#define NIM_INTBITS 64
|
|
|
|
#include "nimbase.h"
|
|
#include <string.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_MDigest__izzRLOKFx5icZ5e3JAI6Yw tyObject_MDigest__izzRLOKFx5icZ5e3JAI6Yw;
|
|
typedef struct tyObject_Blake2bContext__54ghkWUXXQiPuWWsGmKLrg tyObject_Blake2bContext__54ghkWUXXQiPuWWsGmKLrg;
|
|
typedef struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw tyObject_MDigest__law9ct65KplMYBvtmjCQxbw;
|
|
typedef struct tyObject_Blake2sContext__SF9ahil9bTcqq9aie9aRuhlaGw tyObject_Blake2sContext__SF9ahil9bTcqq9aie9aRuhlaGw;
|
|
typedef NU64 tyArray__oFdY9bp69azpfZ9aK0AVuq63Q[16];
|
|
typedef NU8 tyArray__qtqsWM5aXmcpMIVmvq3kAA[16];
|
|
typedef tyArray__qtqsWM5aXmcpMIVmvq3kAA tyArray__SBAV49bUqfDuwvhYN6m2l9cQ[10];
|
|
typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64];
|
|
struct tyObject_MDigest__izzRLOKFx5icZ5e3JAI6Yw {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
|
|
};
|
|
typedef NU8 tyArray__Zu7UusKTJ9auYSy2NZNrWFg[128];
|
|
typedef NU64 tyArray__9cHI9ce3NOVpqam1bGmXg5vw[8];
|
|
typedef NU64 tyArray__NzKR9bw29cLPrd712Xt6Liiw[2];
|
|
struct tyObject_Blake2bContext__54ghkWUXXQiPuWWsGmKLrg {tyArray__Zu7UusKTJ9auYSy2NZNrWFg b;
|
|
tyArray__9cHI9ce3NOVpqam1bGmXg5vw h;
|
|
tyArray__NzKR9bw29cLPrd712Xt6Liiw t;
|
|
NI c;
|
|
tyArray__Zu7UusKTJ9auYSy2NZNrWFg bb;
|
|
tyArray__9cHI9ce3NOVpqam1bGmXg5vw hb;
|
|
tyArray__NzKR9bw29cLPrd712Xt6Liiw tb;
|
|
NI cb;
|
|
};
|
|
typedef NU32 tyArray__U0SiHM0pVagA9c71oWelQMA[16];
|
|
typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32];
|
|
struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
|
|
};
|
|
typedef NU32 tyArray__MpWsq9bBH14GsDQQ59cgyxAQ[8];
|
|
typedef NU32 tyArray__JlnxiR65D9cjJpwi6uBZRtA[2];
|
|
struct tyObject_Blake2sContext__SF9ahil9bTcqq9aie9aRuhlaGw {tyArray__w5VB8h5K8DB3oWrO5U2wqg b;
|
|
tyArray__MpWsq9bBH14GsDQQ59cgyxAQ h;
|
|
tyArray__JlnxiR65D9cjJpwi6uBZRtA t;
|
|
NI c;
|
|
tyArray__w5VB8h5K8DB3oWrO5U2wqg bb;
|
|
tyArray__MpWsq9bBH14GsDQQ59cgyxAQ hb;
|
|
tyArray__JlnxiR65D9cjJpwi6uBZRtA tb;
|
|
NI cb;
|
|
};
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size);
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
|
|
static N_INLINE(NU, finish__82rz59bs0Ew9aPu9bU09c2vWwQblake2)(tyObject_Blake2bContext__54ghkWUXXQiPuWWsGmKLrg* ctx, NU8* data_0, NI data_0Len_0);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
|
|
static N_INLINE(void, blake2Transform__0y9cupVXHvkvEoowIDQKmLAblake2)(tyObject_Blake2bContext__54ghkWUXXQiPuWWsGmKLrg* ctx, NIM_BOOL last);
|
|
N_LIB_PRIVATE N_NIMCALL(void, B2BROUND__odyPVC4ChouCcczwTcPHjg)(NU64* v, tyArray__oFdY9bp69azpfZ9aK0AVuq63Q m, NI n_0);
|
|
static N_INLINE(NU, finish__Ca4IY4bWXow3yX4JNMbpDgblake2)(tyObject_Blake2sContext__SF9ahil9bTcqq9aie9aRuhlaGw* ctx, NU8* data_0, NI data_0Len_0);
|
|
static N_INLINE(void, blake2Transform__dKq0qk0zm9bqLKuG26HYrSwblake2)(tyObject_Blake2sContext__SF9ahil9bTcqq9aie9aRuhlaGw* ctx, NIM_BOOL last);
|
|
N_LIB_PRIVATE N_NIMCALL(void, B2SROUND__09aRsug6t2OjPnEB4X5zM9bA)(NU32* v, tyArray__U0SiHM0pVagA9c71oWelQMA m, NI n_0);
|
|
N_LIB_PRIVATE NIM_CONST tyArray__SBAV49bUqfDuwvhYN6m2l9cQ Sigma__Q2YbM1YNOKoZXvmXeho7mA = {{((NU8) 0),
|
|
((NU8) 1),
|
|
((NU8) 2),
|
|
((NU8) 3),
|
|
((NU8) 4),
|
|
((NU8) 5),
|
|
((NU8) 6),
|
|
((NU8) 7),
|
|
((NU8) 8),
|
|
((NU8) 9),
|
|
((NU8) 10),
|
|
((NU8) 11),
|
|
((NU8) 12),
|
|
((NU8) 13),
|
|
((NU8) 14),
|
|
((NU8) 15)}
|
|
,
|
|
{((NU8) 14),
|
|
((NU8) 10),
|
|
((NU8) 4),
|
|
((NU8) 8),
|
|
((NU8) 9),
|
|
((NU8) 15),
|
|
((NU8) 13),
|
|
((NU8) 6),
|
|
((NU8) 1),
|
|
((NU8) 12),
|
|
((NU8) 0),
|
|
((NU8) 2),
|
|
((NU8) 11),
|
|
((NU8) 7),
|
|
((NU8) 5),
|
|
((NU8) 3)}
|
|
,
|
|
{((NU8) 11),
|
|
((NU8) 8),
|
|
((NU8) 12),
|
|
((NU8) 0),
|
|
((NU8) 5),
|
|
((NU8) 2),
|
|
((NU8) 15),
|
|
((NU8) 13),
|
|
((NU8) 10),
|
|
((NU8) 14),
|
|
((NU8) 3),
|
|
((NU8) 6),
|
|
((NU8) 7),
|
|
((NU8) 1),
|
|
((NU8) 9),
|
|
((NU8) 4)}
|
|
,
|
|
{((NU8) 7),
|
|
((NU8) 9),
|
|
((NU8) 3),
|
|
((NU8) 1),
|
|
((NU8) 13),
|
|
((NU8) 12),
|
|
((NU8) 11),
|
|
((NU8) 14),
|
|
((NU8) 2),
|
|
((NU8) 6),
|
|
((NU8) 5),
|
|
((NU8) 10),
|
|
((NU8) 4),
|
|
((NU8) 0),
|
|
((NU8) 15),
|
|
((NU8) 8)}
|
|
,
|
|
{((NU8) 9),
|
|
((NU8) 0),
|
|
((NU8) 5),
|
|
((NU8) 7),
|
|
((NU8) 2),
|
|
((NU8) 4),
|
|
((NU8) 10),
|
|
((NU8) 15),
|
|
((NU8) 14),
|
|
((NU8) 1),
|
|
((NU8) 11),
|
|
((NU8) 12),
|
|
((NU8) 6),
|
|
((NU8) 8),
|
|
((NU8) 3),
|
|
((NU8) 13)}
|
|
,
|
|
{((NU8) 2),
|
|
((NU8) 12),
|
|
((NU8) 6),
|
|
((NU8) 10),
|
|
((NU8) 0),
|
|
((NU8) 11),
|
|
((NU8) 8),
|
|
((NU8) 3),
|
|
((NU8) 4),
|
|
((NU8) 13),
|
|
((NU8) 7),
|
|
((NU8) 5),
|
|
((NU8) 15),
|
|
((NU8) 14),
|
|
((NU8) 1),
|
|
((NU8) 9)}
|
|
,
|
|
{((NU8) 12),
|
|
((NU8) 5),
|
|
((NU8) 1),
|
|
((NU8) 15),
|
|
((NU8) 14),
|
|
((NU8) 13),
|
|
((NU8) 4),
|
|
((NU8) 10),
|
|
((NU8) 0),
|
|
((NU8) 7),
|
|
((NU8) 6),
|
|
((NU8) 3),
|
|
((NU8) 9),
|
|
((NU8) 2),
|
|
((NU8) 8),
|
|
((NU8) 11)}
|
|
,
|
|
{((NU8) 13),
|
|
((NU8) 11),
|
|
((NU8) 7),
|
|
((NU8) 14),
|
|
((NU8) 12),
|
|
((NU8) 1),
|
|
((NU8) 3),
|
|
((NU8) 9),
|
|
((NU8) 5),
|
|
((NU8) 0),
|
|
((NU8) 15),
|
|
((NU8) 4),
|
|
((NU8) 8),
|
|
((NU8) 6),
|
|
((NU8) 2),
|
|
((NU8) 10)}
|
|
,
|
|
{((NU8) 6),
|
|
((NU8) 15),
|
|
((NU8) 14),
|
|
((NU8) 9),
|
|
((NU8) 11),
|
|
((NU8) 3),
|
|
((NU8) 0),
|
|
((NU8) 8),
|
|
((NU8) 12),
|
|
((NU8) 2),
|
|
((NU8) 13),
|
|
((NU8) 7),
|
|
((NU8) 1),
|
|
((NU8) 4),
|
|
((NU8) 10),
|
|
((NU8) 5)}
|
|
,
|
|
{((NU8) 10),
|
|
((NU8) 2),
|
|
((NU8) 8),
|
|
((NU8) 4),
|
|
((NU8) 7),
|
|
((NU8) 6),
|
|
((NU8) 1),
|
|
((NU8) 5),
|
|
((NU8) 15),
|
|
((NU8) 11),
|
|
((NU8) 9),
|
|
((NU8) 14),
|
|
((NU8) 3),
|
|
((NU8) 12),
|
|
((NU8) 13),
|
|
((NU8) 0)}
|
|
}
|
|
;
|
|
|
|
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, B2BROUND__odyPVC4ChouCcczwTcPHjg)(NU64* v, tyArray__oFdY9bp69azpfZ9aK0AVuq63Q m, NI n_0) {
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 0))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 0))- 0], 15); } v[(((NI) 0))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 0))- 0]) + (NU64)(v[(((NI) 4))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 0))- 0])- 0]));
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 12))- 0] ^ v[(((NI) 0))- 0])) >> (NU64)(32ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 12))- 0] ^ v[(((NI) 0))- 0])) << (NU64)(32ULL)));
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 8))- 0] = (NU64)((NU64)(v[(((NI) 8))- 0]) + (NU64)(v[(((NI) 12))- 0]));
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 4))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 4))- 0] ^ v[(((NI) 8))- 0])) >> (NU64)(24ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 4))- 0] ^ v[(((NI) 8))- 0])) << (NU64)(40ULL)));
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 1))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 1))- 0], 15); } v[(((NI) 0))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 0))- 0]) + (NU64)(v[(((NI) 4))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 1))- 0])- 0]));
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 12))- 0] ^ v[(((NI) 0))- 0])) >> (NU64)(16ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 12))- 0] ^ v[(((NI) 0))- 0])) << (NU64)(48ULL)));
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 8))- 0] = (NU64)((NU64)(v[(((NI) 8))- 0]) + (NU64)(v[(((NI) 12))- 0]));
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 4))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 4))- 0] ^ v[(((NI) 8))- 0])) >> (NU64)(63ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 4))- 0] ^ v[(((NI) 8))- 0])) << (NU64)(1ULL)));
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 2))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 2))- 0], 15); } v[(((NI) 1))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 1))- 0]) + (NU64)(v[(((NI) 5))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 2))- 0])- 0]));
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 13))- 0] ^ v[(((NI) 1))- 0])) >> (NU64)(32ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 13))- 0] ^ v[(((NI) 1))- 0])) << (NU64)(32ULL)));
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 9))- 0] = (NU64)((NU64)(v[(((NI) 9))- 0]) + (NU64)(v[(((NI) 13))- 0]));
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 5))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 5))- 0] ^ v[(((NI) 9))- 0])) >> (NU64)(24ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 5))- 0] ^ v[(((NI) 9))- 0])) << (NU64)(40ULL)));
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 3))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 3))- 0], 15); } v[(((NI) 1))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 1))- 0]) + (NU64)(v[(((NI) 5))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 3))- 0])- 0]));
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 13))- 0] ^ v[(((NI) 1))- 0])) >> (NU64)(16ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 13))- 0] ^ v[(((NI) 1))- 0])) << (NU64)(48ULL)));
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 9))- 0] = (NU64)((NU64)(v[(((NI) 9))- 0]) + (NU64)(v[(((NI) 13))- 0]));
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 5))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 5))- 0] ^ v[(((NI) 9))- 0])) >> (NU64)(63ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 5))- 0] ^ v[(((NI) 9))- 0])) << (NU64)(1ULL)));
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 4))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 4))- 0], 15); } v[(((NI) 2))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 2))- 0]) + (NU64)(v[(((NI) 6))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 4))- 0])- 0]));
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 14))- 0] ^ v[(((NI) 2))- 0])) >> (NU64)(32ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 14))- 0] ^ v[(((NI) 2))- 0])) << (NU64)(32ULL)));
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 10))- 0] = (NU64)((NU64)(v[(((NI) 10))- 0]) + (NU64)(v[(((NI) 14))- 0]));
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 6))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 6))- 0] ^ v[(((NI) 10))- 0])) >> (NU64)(24ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 6))- 0] ^ v[(((NI) 10))- 0])) << (NU64)(40ULL)));
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 5))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 5))- 0], 15); } v[(((NI) 2))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 2))- 0]) + (NU64)(v[(((NI) 6))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 5))- 0])- 0]));
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 14))- 0] ^ v[(((NI) 2))- 0])) >> (NU64)(16ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 14))- 0] ^ v[(((NI) 2))- 0])) << (NU64)(48ULL)));
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 10))- 0] = (NU64)((NU64)(v[(((NI) 10))- 0]) + (NU64)(v[(((NI) 14))- 0]));
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 6))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 6))- 0] ^ v[(((NI) 10))- 0])) >> (NU64)(63ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 6))- 0] ^ v[(((NI) 10))- 0])) << (NU64)(1ULL)));
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 6))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 6))- 0], 15); } v[(((NI) 3))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 3))- 0]) + (NU64)(v[(((NI) 7))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 6))- 0])- 0]));
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 15))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 15))- 0] ^ v[(((NI) 3))- 0])) >> (NU64)(32ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 15))- 0] ^ v[(((NI) 3))- 0])) << (NU64)(32ULL)));
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 11))- 0] = (NU64)((NU64)(v[(((NI) 11))- 0]) + (NU64)(v[(((NI) 15))- 0]));
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 7))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 7))- 0] ^ v[(((NI) 11))- 0])) >> (NU64)(24ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 7))- 0] ^ v[(((NI) 11))- 0])) << (NU64)(40ULL)));
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 7))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 7))- 0], 15); } v[(((NI) 3))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 3))- 0]) + (NU64)(v[(((NI) 7))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 7))- 0])- 0]));
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 15))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 15))- 0] ^ v[(((NI) 3))- 0])) >> (NU64)(16ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 15))- 0] ^ v[(((NI) 3))- 0])) << (NU64)(48ULL)));
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 11))- 0] = (NU64)((NU64)(v[(((NI) 11))- 0]) + (NU64)(v[(((NI) 15))- 0]));
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 7))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 7))- 0] ^ v[(((NI) 11))- 0])) >> (NU64)(63ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 7))- 0] ^ v[(((NI) 11))- 0])) << (NU64)(1ULL)));
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 8))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 8))- 0], 15); } v[(((NI) 0))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 0))- 0]) + (NU64)(v[(((NI) 5))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 8))- 0])- 0]));
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 15))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 15))- 0] ^ v[(((NI) 0))- 0])) >> (NU64)(32ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 15))- 0] ^ v[(((NI) 0))- 0])) << (NU64)(32ULL)));
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 10))- 0] = (NU64)((NU64)(v[(((NI) 10))- 0]) + (NU64)(v[(((NI) 15))- 0]));
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 5))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 5))- 0] ^ v[(((NI) 10))- 0])) >> (NU64)(24ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 5))- 0] ^ v[(((NI) 10))- 0])) << (NU64)(40ULL)));
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 9))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 9))- 0], 15); } v[(((NI) 0))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 0))- 0]) + (NU64)(v[(((NI) 5))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 9))- 0])- 0]));
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 15))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 15))- 0] ^ v[(((NI) 0))- 0])) >> (NU64)(16ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 15))- 0] ^ v[(((NI) 0))- 0])) << (NU64)(48ULL)));
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 10))- 0] = (NU64)((NU64)(v[(((NI) 10))- 0]) + (NU64)(v[(((NI) 15))- 0]));
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 5))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 5))- 0] ^ v[(((NI) 10))- 0])) >> (NU64)(63ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 5))- 0] ^ v[(((NI) 10))- 0])) << (NU64)(1ULL)));
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 10))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 10))- 0], 15); } v[(((NI) 1))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 1))- 0]) + (NU64)(v[(((NI) 6))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 10))- 0])- 0]));
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 12))- 0] ^ v[(((NI) 1))- 0])) >> (NU64)(32ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 12))- 0] ^ v[(((NI) 1))- 0])) << (NU64)(32ULL)));
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 11))- 0] = (NU64)((NU64)(v[(((NI) 11))- 0]) + (NU64)(v[(((NI) 12))- 0]));
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 6))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 6))- 0] ^ v[(((NI) 11))- 0])) >> (NU64)(24ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 6))- 0] ^ v[(((NI) 11))- 0])) << (NU64)(40ULL)));
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 11))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 11))- 0], 15); } v[(((NI) 1))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 1))- 0]) + (NU64)(v[(((NI) 6))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 11))- 0])- 0]));
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 12))- 0] ^ v[(((NI) 1))- 0])) >> (NU64)(16ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 12))- 0] ^ v[(((NI) 1))- 0])) << (NU64)(48ULL)));
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 11))- 0] = (NU64)((NU64)(v[(((NI) 11))- 0]) + (NU64)(v[(((NI) 12))- 0]));
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 6))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 6))- 0] ^ v[(((NI) 11))- 0])) >> (NU64)(63ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 6))- 0] ^ v[(((NI) 11))- 0])) << (NU64)(1ULL)));
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 12))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 12))- 0], 15); } v[(((NI) 2))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 2))- 0]) + (NU64)(v[(((NI) 7))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 12))- 0])- 0]));
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 13))- 0] ^ v[(((NI) 2))- 0])) >> (NU64)(32ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 13))- 0] ^ v[(((NI) 2))- 0])) << (NU64)(32ULL)));
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 8))- 0] = (NU64)((NU64)(v[(((NI) 8))- 0]) + (NU64)(v[(((NI) 13))- 0]));
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 7))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 7))- 0] ^ v[(((NI) 8))- 0])) >> (NU64)(24ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 7))- 0] ^ v[(((NI) 8))- 0])) << (NU64)(40ULL)));
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 13))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 13))- 0], 15); } v[(((NI) 2))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 2))- 0]) + (NU64)(v[(((NI) 7))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 13))- 0])- 0]));
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 13))- 0] ^ v[(((NI) 2))- 0])) >> (NU64)(16ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 13))- 0] ^ v[(((NI) 2))- 0])) << (NU64)(48ULL)));
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 8))- 0] = (NU64)((NU64)(v[(((NI) 8))- 0]) + (NU64)(v[(((NI) 13))- 0]));
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 7))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 7))- 0] ^ v[(((NI) 8))- 0])) >> (NU64)(63ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 7))- 0] ^ v[(((NI) 8))- 0])) << (NU64)(1ULL)));
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 14))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 14))- 0], 15); } v[(((NI) 3))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 3))- 0]) + (NU64)(v[(((NI) 4))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 14))- 0])- 0]));
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 79 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 14))- 0] ^ v[(((NI) 3))- 0])) >> (NU64)(32ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 14))- 0] ^ v[(((NI) 3))- 0])) << (NU64)(32ULL)));
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 9))- 0] = (NU64)((NU64)(v[(((NI) 9))- 0]) + (NU64)(v[(((NI) 14))- 0]));
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 81 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 4))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 4))- 0] ^ v[(((NI) 9))- 0])) >> (NU64)(24ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 4))- 0] ^ v[(((NI) 9))- 0])) << (NU64)(40ULL)));
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 82 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 15))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 15))- 0], 15); } v[(((NI) 3))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 3))- 0]) + (NU64)(v[(((NI) 4))- 0]))) + (NU64)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 15))- 0])- 0]));
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 83 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 14))- 0] ^ v[(((NI) 3))- 0])) >> (NU64)(16ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 14))- 0] ^ v[(((NI) 3))- 0])) << (NU64)(48ULL)));
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 84 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 9))- 0] = (NU64)((NU64)(v[(((NI) 9))- 0]) + (NU64)(v[(((NI) 14))- 0]));
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 85 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 4))- 0] = (NU64)((NU64)((NU64)((NU64)(v[(((NI) 4))- 0] ^ v[(((NI) 9))- 0])) >> (NU64)(63ULL)) | (NU64)((NU64)((NU64)(v[(((NI) 4))- 0] ^ v[(((NI) 9))- 0])) << (NU64)(1ULL)));}
|
|
|
|
#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 141 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
static N_INLINE(void, blake2Transform__0y9cupVXHvkvEoowIDQKmLAblake2)(tyObject_Blake2bContext__54ghkWUXXQiPuWWsGmKLrg* ctx, NIM_BOOL last) { tyArray__oFdY9bp69azpfZ9aK0AVuq63Q v; tyArray__oFdY9bp69azpfZ9aK0AVuq63Q m; NU64 pX60gensym45825513_; NU64 pX60gensym45835513_; NU64 pX60gensym45845513_; NU64 pX60gensym45855513_; NU64 pX60gensym45865513_; NU64 pX60gensym45875513_; NU64 pX60gensym45885513_; NU64 pX60gensym45895513_; NU64 pX60gensym45905513_; NU64 pX60gensym45915514_; NU64 pX60gensym45925514_; NU64 pX60gensym45935514_; NU64 pX60gensym45945514_; NU64 pX60gensym45955514_; NU64 pX60gensym45965514_; NU64 pX60gensym45975514_;
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 0))- 0] = (*ctx).h[(((NI) 0))- 0];
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 1))- 0] = (*ctx).h[(((NI) 1))- 0];
|
|
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 2))- 0] = (*ctx).h[(((NI) 2))- 0];
|
|
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 3))- 0] = (*ctx).h[(((NI) 3))- 0];
|
|
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 4))- 0] = (*ctx).h[(((NI) 4))- 0];
|
|
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 5))- 0] = (*ctx).h[(((NI) 5))- 0];
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 6))- 0] = (*ctx).h[(((NI) 6))- 0];
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 7))- 0] = (*ctx).h[(((NI) 7))- 0];
|
|
#line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 8))- 0] = 7640891576956012808ULL;
|
|
#line 66 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 9))- 0] = 13503953896175478587ULL;
|
|
#line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 10))- 0] = 4354685564936845355ULL;
|
|
#line 67 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 11))- 0] = 11912009170470909681ULL;
|
|
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = 5840696475078001361ULL;
|
|
#line 68 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = 11170449401992604703ULL;
|
|
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = 2270897969802886507ULL;
|
|
#line 69 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 15))- 0] = 6620516959819538809ULL;
|
|
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = (NU64)(v[(((NI) 12))- 0] ^ (*ctx).t[(((NI) 0))- 0]);
|
|
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = (NU64)(v[(((NI) 13))- 0] ^ (*ctx).t[(((NI) 1))- 0]);
|
|
#line 161 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
{ if (!last) goto LA3_;
|
|
|
|
#line 162 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 162 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = (NU64)((NU64) ~(v[(((NI) 14))- 0])); }
|
|
LA3_: ;
|
|
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45825513_ = (*((NU64*) ((&(*ctx).b[(((NI) 0))- 0])))); m[(((NI) 0))- 0] = pX60gensym45825513_;
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45835513_ = (*((NU64*) ((&(*ctx).b[(((NI) 8))- 0])))); m[(((NI) 1))- 0] = pX60gensym45835513_;
|
|
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45845513_ = (*((NU64*) ((&(*ctx).b[(((NI) 16))- 0])))); m[(((NI) 2))- 0] = pX60gensym45845513_;
|
|
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45855513_ = (*((NU64*) ((&(*ctx).b[(((NI) 24))- 0])))); m[(((NI) 3))- 0] = pX60gensym45855513_;
|
|
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45865513_ = (*((NU64*) ((&(*ctx).b[(((NI) 32))- 0])))); m[(((NI) 4))- 0] = pX60gensym45865513_;
|
|
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45875513_ = (*((NU64*) ((&(*ctx).b[(((NI) 40))- 0])))); m[(((NI) 5))- 0] = pX60gensym45875513_;
|
|
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45885513_ = (*((NU64*) ((&(*ctx).b[(((NI) 48))- 0])))); m[(((NI) 6))- 0] = pX60gensym45885513_;
|
|
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45895513_ = (*((NU64*) ((&(*ctx).b[(((NI) 56))- 0])))); m[(((NI) 7))- 0] = pX60gensym45895513_;
|
|
#line 172 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45905513_ = (*((NU64*) ((&(*ctx).b[(((NI) 64))- 0])))); m[(((NI) 8))- 0] = pX60gensym45905513_;
|
|
#line 172 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45915514_ = (*((NU64*) ((&(*ctx).b[(((NI) 72))- 0])))); m[(((NI) 9))- 0] = pX60gensym45915514_;
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45925514_ = (*((NU64*) ((&(*ctx).b[(((NI) 80))- 0])))); m[(((NI) 10))- 0] = pX60gensym45925514_;
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45935514_ = (*((NU64*) ((&(*ctx).b[(((NI) 88))- 0])))); m[(((NI) 11))- 0] = pX60gensym45935514_;
|
|
#line 174 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45945514_ = (*((NU64*) ((&(*ctx).b[(((NI) 96))- 0])))); m[(((NI) 12))- 0] = pX60gensym45945514_;
|
|
#line 174 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45955514_ = (*((NU64*) ((&(*ctx).b[(((NI) 104))- 0])))); m[(((NI) 13))- 0] = pX60gensym45955514_;
|
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45965514_ = (*((NU64*) ((&(*ctx).b[(((NI) 112))- 0])))); m[(((NI) 14))- 0] = pX60gensym45965514_;
|
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym45975514_ = (*((NU64*) ((&(*ctx).b[(((NI) 120))- 0])))); m[(((NI) 15))- 0] = pX60gensym45975514_;
|
|
#line 177 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 177 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 0));
|
|
|
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 1));
|
|
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 179 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 2));
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 180 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 3));
|
|
|
|
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 4));
|
|
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 5));
|
|
|
|
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 6));
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 7));
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 8));
|
|
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 9));
|
|
|
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 0));
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2BROUND__odyPVC4ChouCcczwTcPHjg(v, m, ((NI) 1));
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 0))- 0] = (NU64)((*ctx).h[(((NI) 0))- 0] ^ (NU64)(v[(((NI) 0))- 0] ^ v[(((NI) 8))- 0]));
|
|
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 1))- 0] = (NU64)((*ctx).h[(((NI) 1))- 0] ^ (NU64)(v[(((NI) 1))- 0] ^ v[(((NI) 9))- 0]));
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 2))- 0] = (NU64)((*ctx).h[(((NI) 2))- 0] ^ (NU64)(v[(((NI) 2))- 0] ^ v[(((NI) 10))- 0]));
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 3))- 0] = (NU64)((*ctx).h[(((NI) 3))- 0] ^ (NU64)(v[(((NI) 3))- 0] ^ v[(((NI) 11))- 0]));
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 4))- 0] = (NU64)((*ctx).h[(((NI) 4))- 0] ^ (NU64)(v[(((NI) 4))- 0] ^ v[(((NI) 12))- 0]));
|
|
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 5))- 0] = (NU64)((*ctx).h[(((NI) 5))- 0] ^ (NU64)(v[(((NI) 5))- 0] ^ v[(((NI) 13))- 0]));
|
|
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 6))- 0] = (NU64)((*ctx).h[(((NI) 6))- 0] ^ (NU64)(v[(((NI) 6))- 0] ^ v[(((NI) 14))- 0]));
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 7))- 0] = (NU64)((*ctx).h[(((NI) 7))- 0] ^ (NU64)(v[(((NI) 7))- 0] ^ v[(((NI) 15))- 0]));}
|
|
|
|
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
static N_INLINE(NU, finish__82rz59bs0Ew9aPu9bU09c2vWwQblake2)(tyObject_Blake2bContext__54ghkWUXXQiPuWWsGmKLrg* ctx, NU8* data_0, NI data_0Len_0) { NU result; NI length; result = (NU)0;
|
|
#line 427 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 427 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).t[(((NI) 0))- 0] = (NU64)((NU64)((*ctx).t[(((NI) 0))- 0]) + (NU64)(((NU64) ((*ctx).c))));
|
|
#line 428 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
{
|
|
#line 428 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if (!((NU64)((*ctx).t[(((NI) 0))- 0]) < (NU64)(((NU64) ((*ctx).c))))) goto LA3_;
|
|
|
|
#line 429 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 429 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).t[(((NI) 1))- 0] = (NU64)((NU64)((*ctx).t[(((NI) 1))- 0]) + (NU64)(1ULL)); }
|
|
LA3_: ;
|
|
{
|
|
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
while (1) { NI TM__TlDtN1JUhimutq4P2en4vA_2;
|
|
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if (!((*ctx).c < ((NI) 128))) goto LA6;
|
|
if ((NU)((*ctx).c) > (NU)(127)){ raiseIndexError2((*ctx).c, 127); }
|
|
#line 431 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).b[((*ctx).c)- 0] = ((NU8) 0);
|
|
#line 432 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if (nimAddInt((*ctx).c, ((NI) 1), &TM__TlDtN1JUhimutq4P2en4vA_2)) { raiseOverflow(); }; (*ctx).c = (NI)(TM__TlDtN1JUhimutq4P2en4vA_2); } LA6: ;
|
|
}
|
|
|
|
#line 433 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 433 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
blake2Transform__0y9cupVXHvkvEoowIDQKmLAblake2(ctx, NIM_TRUE);
|
|
|
|
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 434 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
length = ((((NI) 64) <= data_0Len_0) ? ((NI) 64) : data_0Len_0);
|
|
#line 435 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
result = ((NU) (length)); { 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__TlDtN1JUhimutq4P2en4vA_3; NI TM__TlDtN1JUhimutq4P2en4vA_4;
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(i_2 < length)) goto LA9;
|
|
|
|
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
i = i_2; if ((NU)(i) >= (NU)(data_0Len_0)){ raiseIndexError2(i,data_0Len_0-1); }
|
|
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)((NI)((NI64)(i) >> (NU64)(((NI) 3)))) > (NU)(7)){ raiseIndexError2((NI)((NI64)(i) >> (NU64)(((NI) 3))), 7); }
|
|
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if (nimMulInt(((NI) 8), (NI)(i & ((NI) 7)), &TM__TlDtN1JUhimutq4P2en4vA_3)) { raiseOverflow(); }; data_0[i] = ((NU8) ((NU64)((NU64)((NU64)((*ctx).h[((NI)((NI64)(i) >> (NU64)(((NI) 3))))- 0]) >> (NU64)((NI)(TM__TlDtN1JUhimutq4P2en4vA_3))) & 255ULL)));
|
|
#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__TlDtN1JUhimutq4P2en4vA_4)) { raiseOverflow(); }; i_2 = (NI)(TM__TlDtN1JUhimutq4P2en4vA_4); } LA9: ;
|
|
}
|
|
}
|
|
return result;}
|
|
|
|
#line 452 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_MDigest__izzRLOKFx5icZ5e3JAI6Yw, finish__FVVLaWgjQrKWVE59ahgB1Tw)(tyObject_Blake2bContext__54ghkWUXXQiPuWWsGmKLrg* ctx) { tyObject_MDigest__izzRLOKFx5icZ5e3JAI6Yw result; NU T1_; nimZeroMem((void*)(&result), sizeof(tyObject_MDigest__izzRLOKFx5icZ5e3JAI6Yw));
|
|
#line 453 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 453 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 453 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
T1_ = (NU)0; T1_ = finish__82rz59bs0Ew9aPu9bU09c2vWwQblake2(ctx, result.data, 64); (void)(T1_);
|
|
return result;}
|
|
|
|
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, B2SROUND__09aRsug6t2OjPnEB4X5zM9bA)(NU32* v, tyArray__U0SiHM0pVagA9c71oWelQMA m, NI n_0) {
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 0))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 0))- 0], 15); } v[(((NI) 0))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 0))- 0]) + (NU32)(v[(((NI) 4))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 0))- 0])- 0]));
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 12))- 0] ^ v[(((NI) 0))- 0])) >> (NU32)(((NU32) 16))) | (NU32)((NU32)((NU32)(v[(((NI) 12))- 0] ^ v[(((NI) 0))- 0])) << (NU32)(((NU32) 16))));
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 8))- 0] = (NU32)((NU32)(v[(((NI) 8))- 0]) + (NU32)(v[(((NI) 12))- 0]));
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 4))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 4))- 0] ^ v[(((NI) 8))- 0])) >> (NU32)(((NU32) 12))) | (NU32)((NU32)((NU32)(v[(((NI) 4))- 0] ^ v[(((NI) 8))- 0])) << (NU32)(((NU32) 20))));
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 1))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 1))- 0], 15); } v[(((NI) 0))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 0))- 0]) + (NU32)(v[(((NI) 4))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 1))- 0])- 0]));
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 12))- 0] ^ v[(((NI) 0))- 0])) >> (NU32)(((NU32) 8))) | (NU32)((NU32)((NU32)(v[(((NI) 12))- 0] ^ v[(((NI) 0))- 0])) << (NU32)(((NU32) 24))));
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 8))- 0] = (NU32)((NU32)(v[(((NI) 8))- 0]) + (NU32)(v[(((NI) 12))- 0]));
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 4))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 4))- 0] ^ v[(((NI) 8))- 0])) >> (NU32)(((NU32) 7))) | (NU32)((NU32)((NU32)(v[(((NI) 4))- 0] ^ v[(((NI) 8))- 0])) << (NU32)(((NU32) 25))));
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 2))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 2))- 0], 15); } v[(((NI) 1))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 1))- 0]) + (NU32)(v[(((NI) 5))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 2))- 0])- 0]));
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 13))- 0] ^ v[(((NI) 1))- 0])) >> (NU32)(((NU32) 16))) | (NU32)((NU32)((NU32)(v[(((NI) 13))- 0] ^ v[(((NI) 1))- 0])) << (NU32)(((NU32) 16))));
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 9))- 0] = (NU32)((NU32)(v[(((NI) 9))- 0]) + (NU32)(v[(((NI) 13))- 0]));
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 5))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 5))- 0] ^ v[(((NI) 9))- 0])) >> (NU32)(((NU32) 12))) | (NU32)((NU32)((NU32)(v[(((NI) 5))- 0] ^ v[(((NI) 9))- 0])) << (NU32)(((NU32) 20))));
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 3))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 3))- 0], 15); } v[(((NI) 1))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 1))- 0]) + (NU32)(v[(((NI) 5))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 3))- 0])- 0]));
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 13))- 0] ^ v[(((NI) 1))- 0])) >> (NU32)(((NU32) 8))) | (NU32)((NU32)((NU32)(v[(((NI) 13))- 0] ^ v[(((NI) 1))- 0])) << (NU32)(((NU32) 24))));
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 9))- 0] = (NU32)((NU32)(v[(((NI) 9))- 0]) + (NU32)(v[(((NI) 13))- 0]));
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 5))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 5))- 0] ^ v[(((NI) 9))- 0])) >> (NU32)(((NU32) 7))) | (NU32)((NU32)((NU32)(v[(((NI) 5))- 0] ^ v[(((NI) 9))- 0])) << (NU32)(((NU32) 25))));
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 4))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 4))- 0], 15); } v[(((NI) 2))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 2))- 0]) + (NU32)(v[(((NI) 6))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 4))- 0])- 0]));
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 14))- 0] ^ v[(((NI) 2))- 0])) >> (NU32)(((NU32) 16))) | (NU32)((NU32)((NU32)(v[(((NI) 14))- 0] ^ v[(((NI) 2))- 0])) << (NU32)(((NU32) 16))));
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 10))- 0] = (NU32)((NU32)(v[(((NI) 10))- 0]) + (NU32)(v[(((NI) 14))- 0]));
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 6))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 6))- 0] ^ v[(((NI) 10))- 0])) >> (NU32)(((NU32) 12))) | (NU32)((NU32)((NU32)(v[(((NI) 6))- 0] ^ v[(((NI) 10))- 0])) << (NU32)(((NU32) 20))));
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 5))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 5))- 0], 15); } v[(((NI) 2))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 2))- 0]) + (NU32)(v[(((NI) 6))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 5))- 0])- 0]));
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 14))- 0] ^ v[(((NI) 2))- 0])) >> (NU32)(((NU32) 8))) | (NU32)((NU32)((NU32)(v[(((NI) 14))- 0] ^ v[(((NI) 2))- 0])) << (NU32)(((NU32) 24))));
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 10))- 0] = (NU32)((NU32)(v[(((NI) 10))- 0]) + (NU32)(v[(((NI) 14))- 0]));
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 6))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 6))- 0] ^ v[(((NI) 10))- 0])) >> (NU32)(((NU32) 7))) | (NU32)((NU32)((NU32)(v[(((NI) 6))- 0] ^ v[(((NI) 10))- 0])) << (NU32)(((NU32) 25))));
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 6))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 6))- 0], 15); } v[(((NI) 3))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 3))- 0]) + (NU32)(v[(((NI) 7))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 6))- 0])- 0]));
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 15))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 15))- 0] ^ v[(((NI) 3))- 0])) >> (NU32)(((NU32) 16))) | (NU32)((NU32)((NU32)(v[(((NI) 15))- 0] ^ v[(((NI) 3))- 0])) << (NU32)(((NU32) 16))));
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 11))- 0] = (NU32)((NU32)(v[(((NI) 11))- 0]) + (NU32)(v[(((NI) 15))- 0]));
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 7))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 7))- 0] ^ v[(((NI) 11))- 0])) >> (NU32)(((NU32) 12))) | (NU32)((NU32)((NU32)(v[(((NI) 7))- 0] ^ v[(((NI) 11))- 0])) << (NU32)(((NU32) 20))));
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 7))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 7))- 0], 15); } v[(((NI) 3))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 3))- 0]) + (NU32)(v[(((NI) 7))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 7))- 0])- 0]));
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 15))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 15))- 0] ^ v[(((NI) 3))- 0])) >> (NU32)(((NU32) 8))) | (NU32)((NU32)((NU32)(v[(((NI) 15))- 0] ^ v[(((NI) 3))- 0])) << (NU32)(((NU32) 24))));
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 11))- 0] = (NU32)((NU32)(v[(((NI) 11))- 0]) + (NU32)(v[(((NI) 15))- 0]));
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 7))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 7))- 0] ^ v[(((NI) 11))- 0])) >> (NU32)(((NU32) 7))) | (NU32)((NU32)((NU32)(v[(((NI) 7))- 0] ^ v[(((NI) 11))- 0])) << (NU32)(((NU32) 25))));
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 8))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 8))- 0], 15); } v[(((NI) 0))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 0))- 0]) + (NU32)(v[(((NI) 5))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 8))- 0])- 0]));
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 15))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 15))- 0] ^ v[(((NI) 0))- 0])) >> (NU32)(((NU32) 16))) | (NU32)((NU32)((NU32)(v[(((NI) 15))- 0] ^ v[(((NI) 0))- 0])) << (NU32)(((NU32) 16))));
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 10))- 0] = (NU32)((NU32)(v[(((NI) 10))- 0]) + (NU32)(v[(((NI) 15))- 0]));
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 5))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 5))- 0] ^ v[(((NI) 10))- 0])) >> (NU32)(((NU32) 12))) | (NU32)((NU32)((NU32)(v[(((NI) 5))- 0] ^ v[(((NI) 10))- 0])) << (NU32)(((NU32) 20))));
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 9))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 9))- 0], 15); } v[(((NI) 0))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 0))- 0]) + (NU32)(v[(((NI) 5))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 9))- 0])- 0]));
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 15))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 15))- 0] ^ v[(((NI) 0))- 0])) >> (NU32)(((NU32) 8))) | (NU32)((NU32)((NU32)(v[(((NI) 15))- 0] ^ v[(((NI) 0))- 0])) << (NU32)(((NU32) 24))));
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 10))- 0] = (NU32)((NU32)(v[(((NI) 10))- 0]) + (NU32)(v[(((NI) 15))- 0]));
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 5))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 5))- 0] ^ v[(((NI) 10))- 0])) >> (NU32)(((NU32) 7))) | (NU32)((NU32)((NU32)(v[(((NI) 5))- 0] ^ v[(((NI) 10))- 0])) << (NU32)(((NU32) 25))));
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 10))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 10))- 0], 15); } v[(((NI) 1))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 1))- 0]) + (NU32)(v[(((NI) 6))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 10))- 0])- 0]));
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 12))- 0] ^ v[(((NI) 1))- 0])) >> (NU32)(((NU32) 16))) | (NU32)((NU32)((NU32)(v[(((NI) 12))- 0] ^ v[(((NI) 1))- 0])) << (NU32)(((NU32) 16))));
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 11))- 0] = (NU32)((NU32)(v[(((NI) 11))- 0]) + (NU32)(v[(((NI) 12))- 0]));
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 6))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 6))- 0] ^ v[(((NI) 11))- 0])) >> (NU32)(((NU32) 12))) | (NU32)((NU32)((NU32)(v[(((NI) 6))- 0] ^ v[(((NI) 11))- 0])) << (NU32)(((NU32) 20))));
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 11))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 11))- 0], 15); } v[(((NI) 1))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 1))- 0]) + (NU32)(v[(((NI) 6))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 11))- 0])- 0]));
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 12))- 0] ^ v[(((NI) 1))- 0])) >> (NU32)(((NU32) 8))) | (NU32)((NU32)((NU32)(v[(((NI) 12))- 0] ^ v[(((NI) 1))- 0])) << (NU32)(((NU32) 24))));
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 11))- 0] = (NU32)((NU32)(v[(((NI) 11))- 0]) + (NU32)(v[(((NI) 12))- 0]));
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 6))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 6))- 0] ^ v[(((NI) 11))- 0])) >> (NU32)(((NU32) 7))) | (NU32)((NU32)((NU32)(v[(((NI) 6))- 0] ^ v[(((NI) 11))- 0])) << (NU32)(((NU32) 25))));
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 12))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 12))- 0], 15); } v[(((NI) 2))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 2))- 0]) + (NU32)(v[(((NI) 7))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 12))- 0])- 0]));
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 13))- 0] ^ v[(((NI) 2))- 0])) >> (NU32)(((NU32) 16))) | (NU32)((NU32)((NU32)(v[(((NI) 13))- 0] ^ v[(((NI) 2))- 0])) << (NU32)(((NU32) 16))));
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 8))- 0] = (NU32)((NU32)(v[(((NI) 8))- 0]) + (NU32)(v[(((NI) 13))- 0]));
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 7))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 7))- 0] ^ v[(((NI) 8))- 0])) >> (NU32)(((NU32) 12))) | (NU32)((NU32)((NU32)(v[(((NI) 7))- 0] ^ v[(((NI) 8))- 0])) << (NU32)(((NU32) 20))));
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 13))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 13))- 0], 15); } v[(((NI) 2))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 2))- 0]) + (NU32)(v[(((NI) 7))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 13))- 0])- 0]));
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 13))- 0] ^ v[(((NI) 2))- 0])) >> (NU32)(((NU32) 8))) | (NU32)((NU32)((NU32)(v[(((NI) 13))- 0] ^ v[(((NI) 2))- 0])) << (NU32)(((NU32) 24))));
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 8))- 0] = (NU32)((NU32)(v[(((NI) 8))- 0]) + (NU32)(v[(((NI) 13))- 0]));
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 7))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 7))- 0] ^ v[(((NI) 8))- 0])) >> (NU32)(((NU32) 7))) | (NU32)((NU32)((NU32)(v[(((NI) 7))- 0] ^ v[(((NI) 8))- 0])) << (NU32)(((NU32) 25))));
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 88 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 14))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 14))- 0], 15); } v[(((NI) 3))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 3))- 0]) + (NU32)(v[(((NI) 4))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 14))- 0])- 0]));
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 89 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 14))- 0] ^ v[(((NI) 3))- 0])) >> (NU32)(((NU32) 16))) | (NU32)((NU32)((NU32)(v[(((NI) 14))- 0] ^ v[(((NI) 3))- 0])) << (NU32)(((NU32) 16))));
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 90 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 9))- 0] = (NU32)((NU32)(v[(((NI) 9))- 0]) + (NU32)(v[(((NI) 14))- 0]));
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 91 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 4))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 4))- 0] ^ v[(((NI) 9))- 0])) >> (NU32)(((NU32) 12))) | (NU32)((NU32)((NU32)(v[(((NI) 4))- 0] ^ v[(((NI) 9))- 0])) << (NU32)(((NU32) 20))));
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 92 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)(n_0) > (NU)(9)){ raiseIndexError2(n_0, 9); } if ((NU)(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 15))- 0]) > (NU)(15)){ raiseIndexError2(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 15))- 0], 15); } v[(((NI) 3))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 3))- 0]) + (NU32)(v[(((NI) 4))- 0]))) + (NU32)(m[(Sigma__Q2YbM1YNOKoZXvmXeho7mA[(n_0)- 0][(((NI) 15))- 0])- 0]));
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 93 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 14))- 0] ^ v[(((NI) 3))- 0])) >> (NU32)(((NU32) 8))) | (NU32)((NU32)((NU32)(v[(((NI) 14))- 0] ^ v[(((NI) 3))- 0])) << (NU32)(((NU32) 24))));
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 9))- 0] = (NU32)((NU32)(v[(((NI) 9))- 0]) + (NU32)(v[(((NI) 14))- 0]));
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 4))- 0] = (NU32)((NU32)((NU32)((NU32)(v[(((NI) 4))- 0] ^ v[(((NI) 9))- 0])) >> (NU32)(((NU32) 7))) | (NU32)((NU32)((NU32)(v[(((NI) 4))- 0] ^ v[(((NI) 9))- 0])) << (NU32)(((NU32) 25))));}
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
static N_INLINE(void, blake2Transform__dKq0qk0zm9bqLKuG26HYrSwblake2)(tyObject_Blake2sContext__SF9ahil9bTcqq9aie9aRuhlaGw* ctx, NIM_BOOL last) { tyArray__U0SiHM0pVagA9c71oWelQMA v; tyArray__U0SiHM0pVagA9c71oWelQMA m; NU32 pX60gensym46060513_; NU32 pX60gensym46070513_; NU32 pX60gensym46080513_; NU32 pX60gensym46090513_; NU32 pX60gensym46100513_; NU32 pX60gensym46110513_; NU32 pX60gensym46120513_; NU32 pX60gensym46130513_; NU32 pX60gensym46140513_; NU32 pX60gensym46150513_; NU32 pX60gensym46160513_; NU32 pX60gensym46170513_; NU32 pX60gensym46180513_; NU32 pX60gensym46190513_; NU32 pX60gensym46200513_; NU32 pX60gensym46210513_;
|
|
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 0))- 0] = (*ctx).h[(((NI) 0))- 0];
|
|
#line 212 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 1))- 0] = (*ctx).h[(((NI) 1))- 0];
|
|
#line 213 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 2))- 0] = (*ctx).h[(((NI) 2))- 0];
|
|
#line 213 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 3))- 0] = (*ctx).h[(((NI) 3))- 0];
|
|
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 4))- 0] = (*ctx).h[(((NI) 4))- 0];
|
|
#line 214 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 5))- 0] = (*ctx).h[(((NI) 5))- 0];
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 6))- 0] = (*ctx).h[(((NI) 6))- 0];
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 7))- 0] = (*ctx).h[(((NI) 7))- 0];
|
|
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 8))- 0] = ((NU32) 1779033703);
|
|
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 9))- 0] = ((NU32) IL64(3144134277));
|
|
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 10))- 0] = ((NU32) 1013904242);
|
|
#line 73 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 11))- 0] = ((NU32) IL64(2773480762));
|
|
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = ((NU32) 1359893119);
|
|
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = ((NU32) IL64(2600822924));
|
|
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = ((NU32) 528734635);
|
|
#line 74 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 15))- 0] = ((NU32) 1541459225);
|
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 12))- 0] = (NU32)(v[(((NI) 12))- 0] ^ (*ctx).t[(((NI) 0))- 0]);
|
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 222 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 13))- 0] = (NU32)(v[(((NI) 13))- 0] ^ (*ctx).t[(((NI) 1))- 0]);
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
{ if (!last) goto LA3_;
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
v[(((NI) 14))- 0] = (NU32)((NU32) ~(v[(((NI) 14))- 0])); }
|
|
LA3_: ;
|
|
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46060513_ = (*((NU32*) ((&(*ctx).b[(((NI) 0))- 0])))); m[(((NI) 0))- 0] = pX60gensym46060513_;
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46070513_ = (*((NU32*) ((&(*ctx).b[(((NI) 4))- 0])))); m[(((NI) 1))- 0] = pX60gensym46070513_;
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46080513_ = (*((NU32*) ((&(*ctx).b[(((NI) 8))- 0])))); m[(((NI) 2))- 0] = pX60gensym46080513_;
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46090513_ = (*((NU32*) ((&(*ctx).b[(((NI) 12))- 0])))); m[(((NI) 3))- 0] = pX60gensym46090513_;
|
|
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46100513_ = (*((NU32*) ((&(*ctx).b[(((NI) 16))- 0])))); m[(((NI) 4))- 0] = pX60gensym46100513_;
|
|
#line 232 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46110513_ = (*((NU32*) ((&(*ctx).b[(((NI) 20))- 0])))); m[(((NI) 5))- 0] = pX60gensym46110513_;
|
|
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46120513_ = (*((NU32*) ((&(*ctx).b[(((NI) 24))- 0])))); m[(((NI) 6))- 0] = pX60gensym46120513_;
|
|
#line 233 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46130513_ = (*((NU32*) ((&(*ctx).b[(((NI) 28))- 0])))); m[(((NI) 7))- 0] = pX60gensym46130513_;
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46140513_ = (*((NU32*) ((&(*ctx).b[(((NI) 32))- 0])))); m[(((NI) 8))- 0] = pX60gensym46140513_;
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46150513_ = (*((NU32*) ((&(*ctx).b[(((NI) 36))- 0])))); m[(((NI) 9))- 0] = pX60gensym46150513_;
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46160513_ = (*((NU32*) ((&(*ctx).b[(((NI) 40))- 0])))); m[(((NI) 10))- 0] = pX60gensym46160513_;
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46170513_ = (*((NU32*) ((&(*ctx).b[(((NI) 44))- 0])))); m[(((NI) 11))- 0] = pX60gensym46170513_;
|
|
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46180513_ = (*((NU32*) ((&(*ctx).b[(((NI) 48))- 0])))); m[(((NI) 12))- 0] = pX60gensym46180513_;
|
|
#line 236 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46190513_ = (*((NU32*) ((&(*ctx).b[(((NI) 52))- 0])))); m[(((NI) 13))- 0] = pX60gensym46190513_;
|
|
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46200513_ = (*((NU32*) ((&(*ctx).b[(((NI) 56))- 0])))); m[(((NI) 14))- 0] = pX60gensym46200513_;
|
|
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/utils.nim"
|
|
pX60gensym46210513_ = (*((NU32*) ((&(*ctx).b[(((NI) 60))- 0])))); m[(((NI) 15))- 0] = pX60gensym46210513_;
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2SROUND__09aRsug6t2OjPnEB4X5zM9bA(v, m, ((NI) 0));
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2SROUND__09aRsug6t2OjPnEB4X5zM9bA(v, m, ((NI) 1));
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2SROUND__09aRsug6t2OjPnEB4X5zM9bA(v, m, ((NI) 2));
|
|
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2SROUND__09aRsug6t2OjPnEB4X5zM9bA(v, m, ((NI) 3));
|
|
|
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2SROUND__09aRsug6t2OjPnEB4X5zM9bA(v, m, ((NI) 4));
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2SROUND__09aRsug6t2OjPnEB4X5zM9bA(v, m, ((NI) 5));
|
|
|
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2SROUND__09aRsug6t2OjPnEB4X5zM9bA(v, m, ((NI) 6));
|
|
|
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 246 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2SROUND__09aRsug6t2OjPnEB4X5zM9bA(v, m, ((NI) 7));
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2SROUND__09aRsug6t2OjPnEB4X5zM9bA(v, m, ((NI) 8));
|
|
|
|
#line 248 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 248 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
B2SROUND__09aRsug6t2OjPnEB4X5zM9bA(v, m, ((NI) 9));
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 0))- 0] = (NU32)((*ctx).h[(((NI) 0))- 0] ^ (NU32)(v[(((NI) 0))- 0] ^ v[(((NI) 8))- 0]));
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 1))- 0] = (NU32)((*ctx).h[(((NI) 1))- 0] ^ (NU32)(v[(((NI) 1))- 0] ^ v[(((NI) 9))- 0]));
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 2))- 0] = (NU32)((*ctx).h[(((NI) 2))- 0] ^ (NU32)(v[(((NI) 2))- 0] ^ v[(((NI) 10))- 0]));
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 3))- 0] = (NU32)((*ctx).h[(((NI) 3))- 0] ^ (NU32)(v[(((NI) 3))- 0] ^ v[(((NI) 11))- 0]));
|
|
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 4))- 0] = (NU32)((*ctx).h[(((NI) 4))- 0] ^ (NU32)(v[(((NI) 4))- 0] ^ v[(((NI) 12))- 0]));
|
|
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 259 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 5))- 0] = (NU32)((*ctx).h[(((NI) 5))- 0] ^ (NU32)(v[(((NI) 5))- 0] ^ v[(((NI) 13))- 0]));
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 6))- 0] = (NU32)((*ctx).h[(((NI) 6))- 0] ^ (NU32)(v[(((NI) 6))- 0] ^ v[(((NI) 14))- 0]));
|
|
#line 261 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 261 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 261 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).h[(((NI) 7))- 0] = (NU32)((*ctx).h[(((NI) 7))- 0] ^ (NU32)(v[(((NI) 7))- 0] ^ v[(((NI) 15))- 0]));}
|
|
|
|
#line 411 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
static N_INLINE(NU, finish__Ca4IY4bWXow3yX4JNMbpDgblake2)(tyObject_Blake2sContext__SF9ahil9bTcqq9aie9aRuhlaGw* ctx, NU8* data_0, NI data_0Len_0) { NU result; NI length; result = (NU)0;
|
|
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).t[(((NI) 0))- 0] = (NU32)((NU32)((*ctx).t[(((NI) 0))- 0]) + (NU32)(((NU32) ((*ctx).c))));
|
|
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
{
|
|
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if (!((NU32)((*ctx).t[(((NI) 0))- 0]) < (NU32)(((NU32) ((*ctx).c))))) goto LA3_;
|
|
|
|
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).t[(((NI) 1))- 0] = (NU32)((NU32)((*ctx).t[(((NI) 1))- 0]) + (NU32)(((NU32) 1))); }
|
|
LA3_: ;
|
|
{
|
|
#line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
while (1) { NI TM__TlDtN1JUhimutq4P2en4vA_5;
|
|
#line 416 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if (!((*ctx).c < ((NI) 64))) goto LA6;
|
|
if ((NU)((*ctx).c) > (NU)(63)){ raiseIndexError2((*ctx).c, 63); }
|
|
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
(*ctx).b[((*ctx).c)- 0] = ((NU8) 0);
|
|
#line 418 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if (nimAddInt((*ctx).c, ((NI) 1), &TM__TlDtN1JUhimutq4P2en4vA_5)) { raiseOverflow(); }; (*ctx).c = (NI)(TM__TlDtN1JUhimutq4P2en4vA_5); } LA6: ;
|
|
}
|
|
|
|
#line 419 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 419 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
blake2Transform__dKq0qk0zm9bqLKuG26HYrSwblake2(ctx, NIM_TRUE);
|
|
|
|
#line 420 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 420 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 420 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
length = ((((NI) 32) <= data_0Len_0) ? ((NI) 32) : data_0Len_0);
|
|
#line 421 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
result = ((NU) (length)); { 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__TlDtN1JUhimutq4P2en4vA_6; NI TM__TlDtN1JUhimutq4P2en4vA_7;
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(i_2 < length)) goto LA9;
|
|
|
|
#line 422 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
i = i_2; if ((NU)(i) >= (NU)(data_0Len_0)){ raiseIndexError2(i,data_0Len_0-1); }
|
|
#line 423 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 423 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 423 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 423 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if ((NU)((NI)((NI64)(i) >> (NU64)(((NI) 2)))) > (NU)(7)){ raiseIndexError2((NI)((NI64)(i) >> (NU64)(((NI) 2))), 7); }
|
|
#line 423 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 423 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
if (nimMulInt(((NI) 8), (NI)(i & ((NI) 3)), &TM__TlDtN1JUhimutq4P2en4vA_6)) { raiseOverflow(); }; data_0[i] = ((NU8) ((NU32)((NU32)((NU32)((*ctx).h[((NI)((NI64)(i) >> (NU64)(((NI) 2))))- 0]) >> (NU64)((NI)(TM__TlDtN1JUhimutq4P2en4vA_6))) & ((NU32) 255))));
|
|
#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__TlDtN1JUhimutq4P2en4vA_7)) { raiseOverflow(); }; i_2 = (NI)(TM__TlDtN1JUhimutq4P2en4vA_7); } LA9: ;
|
|
}
|
|
}
|
|
return result;}
|
|
|
|
#line 449 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw, finish__tmev8y2ZqhZgMXjMELMg8g)(tyObject_Blake2sContext__SF9ahil9bTcqq9aie9aRuhlaGw* ctx) { tyObject_MDigest__law9ct65KplMYBvtmjCQxbw result; NU T1_; nimZeroMem((void*)(&result), sizeof(tyObject_MDigest__law9ct65KplMYBvtmjCQxbw));
|
|
#line 450 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 450 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
|
|
#line 450 "/home/runner/work/nim-waku/nim-waku/vendor/nimcrypto/nimcrypto/blake2.nim"
|
|
T1_ = (NU)0; T1_ = finish__Ca4IY4bWXow3yX4JNMbpDgblake2(ctx, result.data, 32); (void)(T1_);
|
|
return result;}
|