Searched refs:salt_len (Results 1 – 1 of 1) sorted by relevance
46 unsigned salt_len; in sha_crypt() local80 salt_len = strchrnul(salt_data, '$') - salt_data; in sha_crypt()81 if (salt_len > SALT_LEN_MAX) in sha_crypt()82 salt_len = SALT_LEN_MAX; in sha_crypt()85 salt_data = xstrndup(salt_data, salt_len); in sha_crypt()88 resptr += salt_len; in sha_crypt()107 sha_hash(&ctx, salt_data, salt_len); in sha_crypt()113 sha_hash(&alt_ctx, salt_data, salt_len); in sha_crypt()156 sha_hash(&alt_ctx, salt_data, salt_len); in sha_crypt()164 for (cnt = salt_len; cnt >= _32or64; cnt -= _32or64) { in sha_crypt()[all …]