/dports/devel/stack/stack-2.7.3/_cabal_deps/cryptonite-0.29/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
H A D | cryptonite_skein256.c | 130 to_fill = 32 - ctx->bufindex; in cryptonite_skein256_update() 132 if (ctx->bufindex == 32) { in cryptonite_skein256_update() 134 ctx->bufindex = 0; in cryptonite_skein256_update() 139 if (ctx->bufindex && len > to_fill) { in cryptonite_skein256_update() 140 memcpy(ctx->buf + ctx->bufindex, data, to_fill); in cryptonite_skein256_update() 144 ctx->bufindex = 0; in cryptonite_skein256_update() 162 memcpy(ctx->buf + ctx->bufindex, data, len); in cryptonite_skein256_update() 163 ctx->bufindex += len; in cryptonite_skein256_update() 175 if (ctx->bufindex < 32) in cryptonite_skein256_finalize() 176 memset(ctx->buf + ctx->bufindex, '\0', 32 - ctx->bufindex); in cryptonite_skein256_finalize() [all …]
|
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/cryptonite-0.27/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
H A D | cryptonite_skein256.c | 130 to_fill = 32 - ctx->bufindex; in cryptonite_skein256_update() 132 if (ctx->bufindex == 32) { in cryptonite_skein256_update() 134 ctx->bufindex = 0; in cryptonite_skein256_update() 139 if (ctx->bufindex && len > to_fill) { in cryptonite_skein256_update() 140 memcpy(ctx->buf + ctx->bufindex, data, to_fill); in cryptonite_skein256_update() 144 ctx->bufindex = 0; in cryptonite_skein256_update() 162 memcpy(ctx->buf + ctx->bufindex, data, len); in cryptonite_skein256_update() 163 ctx->bufindex += len; in cryptonite_skein256_update() 175 if (ctx->bufindex < 32) in cryptonite_skein256_finalize() 176 memset(ctx->buf + ctx->bufindex, '\0', 32 - ctx->bufindex); in cryptonite_skein256_finalize() [all …]
|
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/cryptonite-0.27/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
H A D | cryptonite_skein256.c | 130 to_fill = 32 - ctx->bufindex; in cryptonite_skein256_update() 132 if (ctx->bufindex == 32) { in cryptonite_skein256_update() 134 ctx->bufindex = 0; in cryptonite_skein256_update() 139 if (ctx->bufindex && len > to_fill) { in cryptonite_skein256_update() 140 memcpy(ctx->buf + ctx->bufindex, data, to_fill); in cryptonite_skein256_update() 144 ctx->bufindex = 0; in cryptonite_skein256_update() 162 memcpy(ctx->buf + ctx->bufindex, data, len); in cryptonite_skein256_update() 163 ctx->bufindex += len; in cryptonite_skein256_update() 175 if (ctx->bufindex < 32) in cryptonite_skein256_finalize() 176 memset(ctx->buf + ctx->bufindex, '\0', 32 - ctx->bufindex); in cryptonite_skein256_finalize() [all …]
|
/dports/devel/hs-hoogle/hoogle-5.0.18.2/_cabal_deps/cryptonite-0.26/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/cryptonite-0.28/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/devel/hs-hpack/hpack-0.34.4/_cabal_deps/cryptonite-0.26/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/lang/elm/compiler-0.19.1/_cabal_deps/cryptonite-0.26/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/www/hs-postgrest/postgrest-8.0.0/_cabal_deps/cryptonite-0.29/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/www/hs-wai-app-static/wai-app-static-3.1.7.2/_cabal_deps/cryptonite-0.28/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/www/hs-yesod-bin/yesod-bin-1.6.1/_cabal_deps/cryptonite-0.28/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/cryptonite-0.27/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/devel/hs-darcs/darcs-2.16.4/_cabal_deps/cryptonite-0.27/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/cryptonite-0.27/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
H A D | cryptonite_skein256.c | 130 to_fill = 32 - ctx->bufindex; in cryptonite_skein256_update() 132 if (ctx->bufindex == 32) { in cryptonite_skein256_update() 134 ctx->bufindex = 0; in cryptonite_skein256_update() 139 if (ctx->bufindex && len > to_fill) { in cryptonite_skein256_update() 140 memcpy(ctx->buf + ctx->bufindex, data, to_fill); in cryptonite_skein256_update() 144 ctx->bufindex = 0; in cryptonite_skein256_update() 162 memcpy(ctx->buf + ctx->bufindex, data, len); in cryptonite_skein256_update() 163 ctx->bufindex += len; in cryptonite_skein256_update() 175 if (ctx->bufindex < 32) in cryptonite_skein256_finalize() 176 memset(ctx->buf + ctx->bufindex, '\0', 32 - ctx->bufindex); in cryptonite_skein256_finalize() [all …]
|
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/cryptonite-0.28/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/x11/hs-xmobar/xmobar-0.39/_cabal_deps/cryptonite-0.27/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/cryptonite-0.29/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/www/hs-DAV/DAV-1.3.4/_cabal_deps/cryptonite-0.27/cbits/ |
H A D | cryptonite_sha3.c | 123 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_update() 125 ctx->bufindex = 0; in cryptonite_sha3_update() 134 ctx->bufindex = 0; in cryptonite_sha3_update() 154 ctx->bufindex += len; in cryptonite_sha3_update() 161 if (ctx->bufindex == ctx->bufsz) { in cryptonite_sha3_finalize_with_pad_byte() 163 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 168 memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex); in cryptonite_sha3_finalize_with_pad_byte() 173 ctx->bufindex = 0; in cryptonite_sha3_finalize_with_pad_byte() 191 ctx->bufindex = 0; in cryptonite_sha3_output() 201 ctx->bufindex = 0; in cryptonite_sha3_output() [all …]
|
/dports/security/ccrypt/ccrypt-1.11/src/ |
H A D | ccryptlib.c | 37 int bufindex; /* in bytes */ member 178 st->bufindex++; in ccencrypt() 179 if (st->bufindex == 32) { in ccencrypt() 191 st->bufindex = 0; in ccencrypt() 197 cbuf[st->bufindex] = cc; in ccencrypt() 201 st->bufindex++; in ccencrypt() 246 st->bufindex = 0; in ccdecrypt_multi_init() 301 st->bufindex++; in ccdecrypt() 334 st->bufindex = 0; in ccdecrypt() 340 cbuf[st->bufindex] = cc; in ccdecrypt() [all …]
|
/dports/net/vde2/vde2-2.3.2/src/lib/ |
H A D | libvdehist.c | 86 if (commandlist && bufindex>0) { in showexpand() 106 if (commandlist && bufindex>0) { in tabexpand() 135 bufindex=len; in tabexpand() 139 return bufindex; in tabexpand() 476 (st->bufindex)++; in vdehist_term_to_mgmt() 482 (st->bufindex)--; in vdehist_term_to_mgmt() 499 st->bufindex=0; in vdehist_term_to_mgmt() 508 st->bufindex=0; in vdehist_term_to_mgmt() 522 st->bufindex=tabexpand(st->linebuf,st->bufindex,BUFSIZE); in vdehist_term_to_mgmt() 528 if(st->bufindex > 0) { in vdehist_term_to_mgmt() [all …]
|
/dports/print/latex2rtf/latex2rtf-2.3.17/ |
H A D | cfg.c | 199 int bufindex = 0, bufsize = 0; in read_cfg() local 245 if (bufindex >= bufsize) { in read_cfg() 265 if ((*pointer_array)[bufindex] == NULL) in read_cfg() 268 (*pointer_array)[bufindex]->TexCommand = line; in read_cfg() 270 (*pointer_array)[bufindex]->original_id = bufindex; in read_cfg() 271 bufindex++; in read_cfg() 277 return bufindex; in read_cfg() 478 int bufindex = 0; in ReadUptoMatch() local 504 buffer[bufindex++] = (char) c; in ReadUptoMatch() 505 if (bufindex >= bufsize) { in ReadUptoMatch() [all …]
|
/dports/astro/gpsd/gpsd-3.20/ |
H A D | isgps.c | 176 lexer->isgps.bufindex = 0; in isgps_init() 198 lexer->isgps.bufindex = 0; in isgps_decode() 250 lexer->isgps.bufindex); in isgps_decode() 251 lexer->isgps.bufindex = 0; in isgps_decode() 256 lexer->isgps.bufindex, in isgps_decode() 263 if (lexer->isgps.bufindex >= (unsigned)maxlen) { in isgps_decode() 264 lexer->isgps.bufindex = 0; in isgps_decode() 270 lexer->isgps.buf[lexer->isgps.bufindex] = in isgps_decode() 274 if ((lexer->isgps.bufindex == 0) && in isgps_decode() 281 lexer->isgps.bufindex++; in isgps_decode() [all …]
|