crypto: ahash - ensure statesize is non-zero