Searched refs:MEMLIMIT (Results 1 - 6 of 6) sorted by relevance

/netbsd-current/sys/external/isc/libsodium/dist/test/default/
H A Dpwhash_argon2id.c7 #define MEMLIMIT 5000000 macro
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) {
253 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 ||
254 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT - 1, MEMLIMIT) != 1 ||
255 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
256 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT + 1, MEMLIMIT) !
[all...]
H A Dpwhash_argon2i.c7 #define MEMLIMIT 5000000 macro
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 ||
256 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT / 2, MEMLIMIT) != 1 ||
257 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
258 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT * 2, MEMLIMIT) != 1) {
261 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT /
[all...]
H A Dpwhash_scrypt.c7 #define MEMLIMIT 10000000 macro
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 ||
332 (str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
334 (str_out, OPSLIMIT * 2, MEMLIMIT) != 1) {
338 (str_out + 1, OPSLIMIT, MEMLIMIT) != -1) {
361 assert(crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT)
[all...]
/netbsd-current/sys/arch/evbmips/rmixl/
H A Dmachdep.c280 #ifdef MEMLIMIT
281 printf("memlimit = %#"PRIx64"\n", (uint64_t)MEMLIMIT);
364 #ifdef MEMLIMIT
365 /* reserve everything >= MEMLIMIT */
367 (u_quad_t)MEMLIMIT, (u_quad_t)~0);
/netbsd-current/external/public-domain/xz/dist/tests/
H A Dtest_index.c15 #define MEMLIMIT (LZMA_VLI_C(1) << 20) macro
227 expect(lzma_index_decoder(&strm, &d, MEMLIMIT) == LZMA_OK);
264 uint64_t memlimit = MEMLIMIT;
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);
/netbsd-current/external/bsd/nvi/dist/regex/
H A Dregcomp.c177 #define MEMLIMIT 0x8000000 macro
1142 if (MEMSIZE(p) > MEMLIMIT)
1568 if (MEMSIZE(p) > MEMLIMIT)

Completed in 193 milliseconds