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

  /src/lib/libcrypt/
bcrypt.c 155 unsigned long nrounds; local
166 nrounds = strtoul(option, &ep, 0);
171 if (errno == ERANGE && nrounds == ULONG_MAX)
174 if (nrounds < 4)
175 nrounds = 4;
176 else if (nrounds > 31)
177 nrounds = 31;
185 encode_salt(salt, csalt, BCRYPT_MAXSALT, (u_int8_t)nrounds);
pw_gensalt.c 101 size_t nrounds; local
108 if (getnum(option, &nrounds) == -1)
112 if (nrounds < 7250)
113 nrounds = 7250;
114 else if (nrounds > 0xffffff)
115 nrounds = 0xffffff;
117 __crypt_to64(&salt[1], (uint32_t)nrounds, 4);
145 size_t nrounds; local
147 if (getnum(option, &nrounds) == -1)
150 __crypt_sha1_iterations(nrounds));
    [all...]
  /src/sys/crypto/aes/
aes_impl.c 186 uint32_t nrounds)
190 aes_impl->ai_setenckey(enc, key, nrounds);
196 uint32_t nrounds = AES_128_NROUNDS; local
198 aes_setenckey(enc, key, nrounds);
199 return nrounds;
205 uint32_t nrounds = AES_192_NROUNDS; local
207 aes_setenckey(enc, key, nrounds);
208 return nrounds;
214 uint32_t nrounds = AES_256_NROUNDS; local
216 aes_setenckey(enc, key, nrounds);
232 uint32_t nrounds = AES_128_NROUNDS; local
241 uint32_t nrounds = AES_192_NROUNDS; local
250 uint32_t nrounds = AES_256_NROUNDS; local
    [all...]

Completed in 25 milliseconds