/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | sha256-internal.c | 129 md->curlen = 0; in sha256_init() 153 if (md->curlen >= sizeof(md->buf)) in sha256_process() 157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { in sha256_process() 164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); in sha256_process() 165 os_memcpy(md->buf + md->curlen, in, n); in sha256_process() 166 md->curlen += n; in sha256_process() 169 if (md->curlen == SHA256_BLOCK_SIZE) { in sha256_process() 173 md->curlen = 0; in sha256_process() 192 if (md->curlen >= sizeof(md->buf)) in sha256_done() 196 md->length += md->curlen * 8; in sha256_done() [all …]
|
D | sha512-internal.c | 166 md->curlen = 0; in sha512_init() 191 if (md->curlen >= sizeof(md->buf)) in sha512_process() 195 if (md->curlen == 0 && inlen >= SHA512_BLOCK_SIZE) { in sha512_process() 202 n = MIN(inlen, (SHA512_BLOCK_SIZE - md->curlen)); in sha512_process() 203 os_memcpy(md->buf + md->curlen, in, n); in sha512_process() 204 md->curlen += n; in sha512_process() 207 if (md->curlen == SHA512_BLOCK_SIZE) { in sha512_process() 211 md->curlen = 0; in sha512_process() 230 if (md->curlen >= sizeof(md->buf)) in sha512_done() 234 md->length += md->curlen * CONST64(8); in sha512_done() [all …]
|
D | sha384-internal.c | 54 md->curlen = 0; in sha384_init() 82 if (md->curlen >= sizeof(md->buf)) in sha384_done()
|
D | sha512_i.h | 16 u32 curlen; member
|
D | sha256_i.h | 16 u32 state[8], curlen; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | sha256-internal.c | 129 md->curlen = 0; in sha256_init() 153 if (md->curlen >= sizeof(md->buf)) in sha256_process() 157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { in sha256_process() 164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); in sha256_process() 165 os_memcpy(md->buf + md->curlen, in, n); in sha256_process() 166 md->curlen += n; in sha256_process() 169 if (md->curlen == SHA256_BLOCK_SIZE) { in sha256_process() 173 md->curlen = 0; in sha256_process() 192 if (md->curlen >= sizeof(md->buf)) in sha256_done() 196 md->length += md->curlen * 8; in sha256_done() [all …]
|
D | sha512-internal.c | 166 md->curlen = 0; in sha512_init() 191 if (md->curlen >= sizeof(md->buf)) in sha512_process() 195 if (md->curlen == 0 && inlen >= SHA512_BLOCK_SIZE) { in sha512_process() 202 n = MIN(inlen, (SHA512_BLOCK_SIZE - md->curlen)); in sha512_process() 203 os_memcpy(md->buf + md->curlen, in, n); in sha512_process() 204 md->curlen += n; in sha512_process() 207 if (md->curlen == SHA512_BLOCK_SIZE) { in sha512_process() 211 md->curlen = 0; in sha512_process() 230 if (md->curlen >= sizeof(md->buf)) in sha512_done() 234 md->length += md->curlen * CONST64(8); in sha512_done() [all …]
|
D | sha384-internal.c | 54 md->curlen = 0; in sha384_init() 82 if (md->curlen >= sizeof(md->buf)) in sha384_done()
|
D | sha256_i.h | 16 u32 state[8], curlen; member
|
D | sha512_i.h | 16 u32 curlen; member
|
/third_party/curl/lib/ |
D | sha256.c | 261 unsigned long state[8], curlen; member 343 md->curlen = 0; in SHA256_Init() 369 if(md->curlen > sizeof(md->buf)) in SHA256_Update() 372 if(md->curlen == 0 && inlen >= block_size) { in SHA256_Update() 380 n = CURLMIN(inlen, (block_size - md->curlen)); in SHA256_Update() 381 memcpy(md->buf + md->curlen, in, n); in SHA256_Update() 382 md->curlen += n; in SHA256_Update() 385 if(md->curlen == block_size) { in SHA256_Update() 389 md->curlen = 0; in SHA256_Update() 408 if(md->curlen >= sizeof(md->buf)) in SHA256_Final() [all …]
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | sha256.c | 76 __u32 state[8], curlen; member 121 md->sha256.curlen = 0; in sha256_init() 140 if (md->sha256.curlen == 0 && inlen >= SHA256_BLOCKSIZE) { in sha256_process() 146 n = MIN(inlen, (SHA256_BLOCKSIZE - md->sha256.curlen)); in sha256_process() 147 memcpy(md->sha256.buf + md->sha256.curlen, in, (size_t)n); in sha256_process() 148 md->sha256.curlen += n; in sha256_process() 151 if (md->sha256.curlen == SHA256_BLOCKSIZE) { in sha256_process() 154 md->sha256.curlen = 0; in sha256_process() 166 md->sha256.length += md->sha256.curlen * 8; in sha256_done() 169 md->sha256.buf[md->sha256.curlen++] = (unsigned char)0x80; in sha256_done() [all …]
|
D | sha512.c | 106 unsigned long curlen; member 155 md->sha512.curlen = 0; in sha512_init() 172 md->sha512.length += md->sha512.curlen * CONST64(8); in sha512_done() 175 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0x80; in sha512_done() 180 if (md->sha512.curlen > 112) { in sha512_done() 181 while (md->sha512.curlen < 128) { in sha512_done() 182 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0; in sha512_done() 185 md->sha512.curlen = 0; in sha512_done() 190 while (md->sha512.curlen < 120) { in sha512_done() 191 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0; in sha512_done() [all …]
|
/third_party/f2fs-tools/tools/ |
D | sha512.c | 126 unsigned long curlen; member 175 md->sha512.curlen = 0; in sha512_init() 192 md->sha512.length += md->sha512.curlen * CONST64(8); in sha512_done() 195 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0x80; in sha512_done() 200 if (md->sha512.curlen > 112) { in sha512_done() 201 while (md->sha512.curlen < 128) { in sha512_done() 202 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0; in sha512_done() 205 md->sha512.curlen = 0; in sha512_done() 210 while (md->sha512.curlen < 120) { in sha512_done() 211 md->sha512.buf[md->sha512.curlen++] = (unsigned char)0; in sha512_done() [all …]
|
/third_party/python/Modules/ |
D | sha1module.c | 47 SHA1_INT32 state[5], curlen; member 199 sha1->curlen = 0; in sha1_init() 217 assert(sha1->curlen <= sizeof(sha1->buf)); in sha1_process() 220 if (sha1->curlen == 0 && inlen >= SHA1_BLOCKSIZE) { in sha1_process() 226 n = Py_MIN(inlen, (Py_ssize_t)(SHA1_BLOCKSIZE - sha1->curlen)); in sha1_process() 227 memcpy(sha1->buf + sha1->curlen, in, (size_t)n); in sha1_process() 228 sha1->curlen += (SHA1_INT32)n; in sha1_process() 231 if (sha1->curlen == SHA1_BLOCKSIZE) { in sha1_process() 234 sha1->curlen = 0; in sha1_process() 252 assert(sha1->curlen < sizeof(sha1->buf)); in sha1_done() [all …]
|
D | md5module.c | 47 MD5_INT32 state[4], curlen; member 224 md5->curlen = 0; in md5_init() 241 assert(md5->curlen <= sizeof(md5->buf)); in md5_process() 244 if (md5->curlen == 0 && inlen >= MD5_BLOCKSIZE) { in md5_process() 250 n = Py_MIN(inlen, (Py_ssize_t)(MD5_BLOCKSIZE - md5->curlen)); in md5_process() 251 memcpy(md5->buf + md5->curlen, in, (size_t)n); in md5_process() 252 md5->curlen += (MD5_INT32)n; in md5_process() 255 if (md5->curlen == MD5_BLOCKSIZE) { in md5_process() 258 md5->curlen = 0; in md5_process() 276 assert(md5->curlen < sizeof(md5->buf)); in md5_done() [all …]
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/ |
D | trees.c | 710 int curlen; /* length of current code */ local 720 curlen = nextlen; nextlen = tree[n+1].Len; 721 if (++count < max_count && curlen == nextlen) { 724 s->bl_tree[curlen].Freq += count; 725 } else if (curlen != 0) { 726 if (curlen != prevlen) s->bl_tree[curlen].Freq++; 733 count = 0; prevlen = curlen; 736 } else if (curlen == nextlen) { 755 int curlen; /* length of current code */ local 765 curlen = nextlen; nextlen = tree[n+1].Len; [all …]
|
/third_party/skia/third_party/externals/zlib/ |
D | trees.c | 710 int curlen; /* length of current code */ local 720 curlen = nextlen; nextlen = tree[n+1].Len; 721 if (++count < max_count && curlen == nextlen) { 724 s->bl_tree[curlen].Freq += count; 725 } else if (curlen != 0) { 726 if (curlen != prevlen) s->bl_tree[curlen].Freq++; 733 count = 0; prevlen = curlen; 736 } else if (curlen == nextlen) { 755 int curlen; /* length of current code */ local 765 curlen = nextlen; nextlen = tree[n+1].Len; [all …]
|
/third_party/node/deps/zlib/ |
D | trees.c | 710 int curlen; /* length of current code */ local 720 curlen = nextlen; nextlen = tree[n+1].Len; 721 if (++count < max_count && curlen == nextlen) { 724 s->bl_tree[curlen].Freq += count; 725 } else if (curlen != 0) { 726 if (curlen != prevlen) s->bl_tree[curlen].Freq++; 733 count = 0; prevlen = curlen; 736 } else if (curlen == nextlen) { 755 int curlen; /* length of current code */ local 765 curlen = nextlen; nextlen = tree[n+1].Len; [all …]
|
/third_party/libwebsockets/win32port/zlib/ |
D | trees.c | 718 int curlen; /* length of current code */ local 728 curlen = nextlen; nextlen = tree[n+1].Len; 729 if (++count < max_count && curlen == nextlen) { 732 s->bl_tree[curlen].Freq += count; 733 } else if (curlen != 0) { 734 if (curlen != prevlen) s->bl_tree[curlen].Freq++; 741 count = 0; prevlen = curlen; 744 } else if (curlen == nextlen) { 763 int curlen; /* length of current code */ local 773 curlen = nextlen; nextlen = tree[n+1].Len; [all …]
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/ |
D | trees.c | 710 int curlen; /* length of current code */ local 720 curlen = nextlen; nextlen = tree[n+1].Len; 721 if (++count < max_count && curlen == nextlen) { 724 s->bl_tree[curlen].Freq += count; 725 } else if (curlen != 0) { 726 if (curlen != prevlen) s->bl_tree[curlen].Freq++; 733 count = 0; prevlen = curlen; 736 } else if (curlen == nextlen) { 755 int curlen; /* length of current code */ local 765 curlen = nextlen; nextlen = tree[n+1].Len; [all …]
|
/third_party/flutter/skia/third_party/externals/zlib/ |
D | trees.c | 710 int curlen; /* length of current code */ local 720 curlen = nextlen; nextlen = tree[n+1].Len; 721 if (++count < max_count && curlen == nextlen) { 724 s->bl_tree[curlen].Freq += count; 725 } else if (curlen != 0) { 726 if (curlen != prevlen) s->bl_tree[curlen].Freq++; 733 count = 0; prevlen = curlen; 736 } else if (curlen == nextlen) { 755 int curlen; /* length of current code */ local 765 curlen = nextlen; nextlen = tree[n+1].Len; [all …]
|
/third_party/zlib/ |
D | trees.c | 710 int curlen; /* length of current code */ local 720 curlen = nextlen; nextlen = tree[n+1].Len; 721 if (++count < max_count && curlen == nextlen) { 724 s->bl_tree[curlen].Freq += count; 725 } else if (curlen != 0) { 726 if (curlen != prevlen) s->bl_tree[curlen].Freq++; 733 count = 0; prevlen = curlen; 736 } else if (curlen == nextlen) { 755 int curlen; /* length of current code */ local 765 curlen = nextlen; nextlen = tree[n+1].Len; [all …]
|
/third_party/libxml2/ |
D | testlimits.c | 167 size_t curlen = 0; variable 192 curlen = 0; in hugeRead() 205 curlen = 0; in hugeRead() 214 curlen += len; in hugeRead() 215 if (curlen >= maxlen) { in hugeRead() 220 if (curlen > dotlen) { in hugeRead() 339 curlen = 0; in crazyRead() 351 curlen = 0; in crazyRead() 360 curlen += len; in crazyRead() 361 if (curlen >= maxlen) { in crazyRead()
|
/third_party/ltp/lib/ |
D | tst_rtnetlink.c | 32 size_t needed, offset, curlen = NLMSG_ALIGN(ctx->datalen); in tst_rtnl_grow_buffer() local 35 if (ctx->bufsize - curlen >= size) in tst_rtnl_grow_buffer() 38 needed = size - (ctx->bufsize - curlen); in tst_rtnl_grow_buffer()
|