use a separate variable for the hash length
use a separate variable for the hash length

Allow sta to only be used for ERR_SCM_* values by adding a new
variable for use with hash lengths.

rhansen/rpstir,rhansen/rpstir,rhansen/rpstir,rhansen/rpstir,rhansen/rpstir