HomeSort by: relevance | last modified time | path
    Searched defs:N_log2 (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/scryptsalsa208sha256/
crypto_scrypt-common.c 149 uint32_t N_log2;
153 src = escrypt_parse_setting(setting, &N_log2, &r, &p);
157 N = (uint64_t) 1 << N_log2;
198 escrypt_gensalt_r(uint32_t N_log2, uint32_t r, uint32_t p, const uint8_t *src,
203 (sizeof "$7$" - 1U) + (1U /* N_log2 */) + (5U /* r */) + (5U /* p */);
211 if (N_log2 > 63 || ((uint64_t) r * (uint64_t) p >= (1U << 30))) {
219 *dst++ = itoa64[N_log2];
pwhash_scryptsalsa208sha256.c 15 ((sizeof "$7$" - 1U) + (1U /* N_log2 */) + (5U /* r */) + (5U /* p */) + \
20 uint32_t *const N_log2, uint32_t *const p, uint32_t *const r)
32 for (*N_log2 = 1; *N_log2 < 63; *N_log2 += 1) {
33 if ((uint64_t)(1) << *N_log2 > maxN / 2) {
39 for (*N_log2 = 1; *N_log2 < 63; *N_log2 += 1) {
40 if ((uint64_t)(1) << *N_log2 > maxN / 2)
    [all...]
crypto_scrypt-common.c 149 uint32_t N_log2;
153 src = escrypt_parse_setting(setting, &N_log2, &r, &p);
157 N = (uint64_t) 1 << N_log2;
198 escrypt_gensalt_r(uint32_t N_log2, uint32_t r, uint32_t p, const uint8_t *src,
203 (sizeof "$7$" - 1U) + (1U /* N_log2 */) + (5U /* r */) + (5U /* p */);
211 if (N_log2 > 63 || ((uint64_t) r * (uint64_t) p >= (1U << 30))) {
219 *dst++ = itoa64[N_log2];
pwhash_scryptsalsa208sha256.c 15 ((sizeof "$7$" - 1U) + (1U /* N_log2 */) + (5U /* r */) + (5U /* p */) + \
20 uint32_t *const N_log2, uint32_t *const p, uint32_t *const r)
32 for (*N_log2 = 1; *N_log2 < 63; *N_log2 += 1) {
33 if ((uint64_t)(1) << *N_log2 > maxN / 2) {
39 for (*N_log2 = 1; *N_log2 < 63; *N_log2 += 1) {
40 if ((uint64_t)(1) << *N_log2 > maxN / 2)
    [all...]

Completed in 22 milliseconds