This implementation does ultimately work. I accidentally munged some of
my test data for a while (which caused no end of grief). But then I went back
to the iSCSI rfc and realized that I also need to take the results from the above code, do a 1s complement on it and byte swap it. After all that, the
results match test data.
Thanks for the help!!
data on one run and then