/src/lib/libcrypt/ |
bcrypt.c | 158 unsigned long nrounds; local in function:__gensalt_blowfish 169 nrounds = strtoul(option, &ep, 0); 174 if (errno == ERANGE && nrounds == ULONG_MAX) 177 if (nrounds < 4) 178 nrounds = 4; 179 else if (nrounds > 31) 180 nrounds = 31; 188 encode_salt(salt, csalt, BCRYPT_MAXSALT, (u_int8_t)nrounds);
|
pw_gensalt.c | 104 size_t nrounds; local in function:__gensalt_new 111 if (getnum(option, &nrounds) == -1) 115 if (nrounds < 7250) 116 nrounds = 7250; 117 else if (nrounds > 0xffffff) 118 nrounds = 0xffffff; 120 __crypt_to64(&salt[1], (uint32_t)nrounds, 4); 148 size_t nrounds; local in function:__gensalt_sha1 150 if (getnum(option, &nrounds) == -1) 153 __crypt_sha1_iterations(nrounds)); [all...] |
bcrypt.c | 158 unsigned long nrounds; local in function:__gensalt_blowfish 169 nrounds = strtoul(option, &ep, 0); 174 if (errno == ERANGE && nrounds == ULONG_MAX) 177 if (nrounds < 4) 178 nrounds = 4; 179 else if (nrounds > 31) 180 nrounds = 31; 188 encode_salt(salt, csalt, BCRYPT_MAXSALT, (u_int8_t)nrounds);
|
pw_gensalt.c | 104 size_t nrounds; local in function:__gensalt_new 111 if (getnum(option, &nrounds) == -1) 115 if (nrounds < 7250) 116 nrounds = 7250; 117 else if (nrounds > 0xffffff) 118 nrounds = 0xffffff; 120 __crypt_to64(&salt[1], (uint32_t)nrounds, 4); 148 size_t nrounds; local in function:__gensalt_sha1 150 if (getnum(option, &nrounds) == -1) 153 __crypt_sha1_iterations(nrounds)); [all...] |
/src/sys/crypto/aes/ |
aes_impl.c | 173 uint32_t nrounds) 177 aes_impl->ai_setenckey(enc, key, nrounds); 183 uint32_t nrounds = AES_128_NROUNDS; local in function:aes_setenckey128 185 aes_setenckey(enc, key, nrounds); 186 return nrounds; 192 uint32_t nrounds = AES_192_NROUNDS; local in function:aes_setenckey192 194 aes_setenckey(enc, key, nrounds); 195 return nrounds; 201 uint32_t nrounds = AES_256_NROUNDS; local in function:aes_setenckey256 203 aes_setenckey(enc, key, nrounds); 219 uint32_t nrounds = AES_128_NROUNDS; local in function:aes_setdeckey128 228 uint32_t nrounds = AES_192_NROUNDS; local in function:aes_setdeckey192 237 uint32_t nrounds = AES_256_NROUNDS; local in function:aes_setdeckey256 [all...] |
aes_impl.c | 173 uint32_t nrounds) 177 aes_impl->ai_setenckey(enc, key, nrounds); 183 uint32_t nrounds = AES_128_NROUNDS; local in function:aes_setenckey128 185 aes_setenckey(enc, key, nrounds); 186 return nrounds; 192 uint32_t nrounds = AES_192_NROUNDS; local in function:aes_setenckey192 194 aes_setenckey(enc, key, nrounds); 195 return nrounds; 201 uint32_t nrounds = AES_256_NROUNDS; local in function:aes_setenckey256 203 aes_setenckey(enc, key, nrounds); 219 uint32_t nrounds = AES_128_NROUNDS; local in function:aes_setdeckey128 228 uint32_t nrounds = AES_192_NROUNDS; local in function:aes_setdeckey192 237 uint32_t nrounds = AES_256_NROUNDS; local in function:aes_setdeckey256 [all...] |