/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/ |
crypto_pwhash.c | 132 unsigned long long opslimit, size_t memlimit, int alg) 137 opslimit, memlimit, alg); 140 opslimit, memlimit, alg); 150 unsigned long long opslimit, size_t memlimit) 153 opslimit, memlimit); 159 unsigned long long opslimit, size_t memlimit, int alg) 164 opslimit, memlimit); 167 opslimit, memlimit); 193 unsigned long long opslimit, size_t memlimit) 197 return crypto_pwhash_argon2id_str_needs_rehash(str, opslimit, memlimit); [all...] |
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/ |
pwhash_argon2i.c | 143 unsigned long long opslimit, size_t memlimit, int alg) 156 memlimit > crypto_pwhash_argon2i_MEMLIMIT_MAX) { 162 memlimit < crypto_pwhash_argon2i_MEMLIMIT_MIN) { 168 if (argon2i_hash_raw((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), 185 unsigned long long opslimit, size_t memlimit) 192 memlimit > crypto_pwhash_argon2i_MEMLIMIT_MAX) { 198 memlimit < crypto_pwhash_argon2i_MEMLIMIT_MIN) { 203 if (argon2i_hash_encoded((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), 241 _needs_rehash(const char *str, unsigned long long opslimit, size_t memlimit, 250 memlimit /= 1024U [all...] |
pwhash_argon2id.c | 139 unsigned long long opslimit, size_t memlimit, int alg) 152 memlimit > crypto_pwhash_argon2id_MEMLIMIT_MAX) { 158 memlimit < crypto_pwhash_argon2id_MEMLIMIT_MIN) { 164 if (argon2id_hash_raw((uint32_t) opslimit, (uint32_t) (memlimit / 1024U), 181 unsigned long long opslimit, size_t memlimit) 188 memlimit > crypto_pwhash_argon2id_MEMLIMIT_MAX) { 194 memlimit < crypto_pwhash_argon2id_MEMLIMIT_MIN) { 199 if (argon2id_hash_encoded((uint32_t) opslimit, (uint32_t) (memlimit / 1024U),
|
/src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/ |
crypto_pwhash.h | 107 unsigned long long opslimit, size_t memlimit, int alg) 118 unsigned long long opslimit, size_t memlimit) 124 unsigned long long opslimit, size_t memlimit, int alg) 135 unsigned long long opslimit, size_t memlimit)
|
crypto_pwhash_argon2i.h | 96 unsigned long long opslimit, size_t memlimit, 104 unsigned long long opslimit, size_t memlimit) 115 unsigned long long opslimit, size_t memlimit)
|
crypto_pwhash_argon2id.h | 96 unsigned long long opslimit, size_t memlimit, 104 unsigned long long opslimit, size_t memlimit) 115 unsigned long long opslimit, size_t memlimit)
|
crypto_pwhash_scryptsalsa208sha256.h | 86 size_t memlimit) 94 size_t memlimit) 113 size_t memlimit)
|
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
pwhash_scryptsalsa208sha256.c | 19 pickparams(unsigned long long opslimit, const size_t memlimit, 29 if (opslimit < memlimit / 32) { 38 maxN = memlimit / ((size_t) *r * 128); 151 unsigned long long opslimit, size_t memlimit) 164 pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) { 178 unsigned long long opslimit, size_t memlimit) 193 pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) { 261 unsigned long long opslimit, size_t memlimit) 267 if (pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) {
|
/src/sys/fs/tmpfs/ |
tmpfs_mem.c | 52 tmpfs_mntmem_init(struct tmpfs_mount *mp, uint64_t memlimit) 56 mp->tm_mem_limit = memlimit; 69 tmpfs_mntmem_set(struct tmpfs_mount *mp, uint64_t memlimit) 74 if (round_page(mp->tm_bytes_used) >= memlimit) 78 mp->tm_mem_limit = memlimit;
|
tmpfs_vfsops.c | 93 uint64_t memlimit; local in function:tmpfs_mount 137 memlimit = UINT64_MAX; 140 memlimit = args->ta_size_max; 143 KASSERT(memlimit > 0); 146 nodes = 3 + (memlimit / 1024); 169 if ((error = tmpfs_mntmem_set(tmp, memlimit)) != 0) 196 tmpfs_mntmem_init(tmp, memlimit);
|
/src/sys/external/isc/libsodium/dist/test/default/ |
pwhash_scrypt.c | 7 #define MEMLIMIT 10000000 18 size_t memlimit; member in struct:tv::__anon91de77b80108 108 tests[i].opslimit, tests[i].memlimit) != 0) { 125 size_t memlimit; member in struct:tv2::__anon91de77b80208 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...] |
pwhash_argon2i.c | 7 #define MEMLIMIT 5000000 18 size_t memlimit; member in struct:tv::__anon0e6d55c50108 95 tests[i].opslimit, tests[i].memlimit, 115 size_t memlimit; member in struct:tv2::__anon0e6d55c50208 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:tv::__anondc18eda90108 95 tests[i].opslimit, tests[i].memlimit, 115 size_t memlimit; member in struct:tv2::__anondc18eda90208 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...] |
/src/sys/arch/sandpoint/stand/altboot/ |
pci.c | 53 unsigned memstart, memlimit; variable in typeref:typename:unsigned 62 memlimit = PCI_MEMLIMIT; 246 val = (memlimit & 0xffff0000) | (val & 0xffff0000) >> 16; 309 if (mapbase + size > memlimit)
|