| /src/sys/external/isc/libsodium/dist/test/default/ |
| pwhash_argon2i.c | 7 #define MEMLIMIT 5000000 18 size_t memlimit; member in struct:__anon6527 95 tests[i].opslimit, tests[i].memlimit, 115 size_t memlimit; member in struct:__anon6528 147 tests[i].opslimit, tests[i].memlimit, 185 OPSLIMIT, MEMLIMIT, crypto_pwhash_alg_argon2id13()) == -1); 242 MEMLIMIT) != 0) { 246 MEMLIMIT) != 0) { 252 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) { 255 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 | [all...] |
| pwhash_argon2id.c | 7 #define MEMLIMIT 5000000 18 size_t memlimit; member in struct:__anon6530 95 tests[i].opslimit, tests[i].memlimit, 115 size_t memlimit; member in struct:__anon6531 147 tests[i].opslimit, tests[i].memlimit, 181 OPSLIMIT, MEMLIMIT, crypto_pwhash_alg_argon2i13()) == -1); 239 MEMLIMIT) != 0) { 243 MEMLIMIT) != 0) { 249 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0 || 250 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) [all...] |
| pwhash_scrypt.c | 7 #define MEMLIMIT 10000000 18 size_t memlimit; member in struct:__anon6533 108 tests[i].opslimit, tests[i].memlimit) != 0) { 125 size_t memlimit; member in struct:__anon6534 157 tests[i].opslimit, tests[i].memlimit) != 0) { 313 OPSLIMIT, MEMLIMIT) != 0) { 317 OPSLIMIT, MEMLIMIT) != 0) { 324 (str_out, OPSLIMIT, MEMLIMIT) != 0) { 328 (str_out, OPSLIMIT, MEMLIMIT / 2) != 1 || 330 (str_out, OPSLIMIT / 2, MEMLIMIT) != 1 | [all...] |
| /src/external/public-domain/xz/dist/tests/ |
| test_index.c | 15 #define MEMLIMIT (LZMA_VLI_C(1) << 20) 227 expect(lzma_index_decoder(&strm, &d, MEMLIMIT) == LZMA_OK); 264 uint64_t memlimit = MEMLIMIT; local 265 expect(lzma_index_buffer_decode(&d, &memlimit, NULL, buf, &buf_pos, 270 succeed(lzma_index_buffer_decode(&d, &memlimit, NULL, buf, &buf_pos, 613 expect(lzma_index_decoder(&strm, &i, MEMLIMIT) == LZMA_OK); 619 expect(lzma_index_decoder(&strm, &i, MEMLIMIT) == LZMA_OK); 625 expect(lzma_index_decoder(&strm, &i, MEMLIMIT) == LZMA_OK);
|
| /src/external/bsd/nvi/dist/regex/ |
| regcomp.c | 177 #define MEMLIMIT 0x8000000 1142 if (MEMSIZE(p) > MEMLIMIT) 1568 if (MEMSIZE(p) > MEMLIMIT)
|