 #- Seen this neat trick yet?
 #- 	t.Logf("Got PCR 18 value % x\n", res)
 #- (Yes, there is a space: % x)
+#**
+#** author: Tom Roeder
+#** email: tmroeder@google.com
+#** date: 2014-07-20T22:41:35-0700
+#**
+#-- Yes, I've seen it, but I forgot about it. Thanks.
+#-- 
  }
  
  func TestGetRandom(t *testing.T) {

#- Nit: Why don't you call Unpack here? Eliminates 1 line of code and
#- a variable and the need for BigEndian here.
#- if err := Unpack(outb[:rhSize], []interface{}(&rh)); err != nil { ...
 
+	// Check success before trying to read the rest of the result.
+	if rh.Tag != tagRSPCommand {

#- ErrBadHandle, ErrSize, ErrReadOnly, etc. Also avoids ambiguous names like
#- "Size" or "ReadOnly".
#-
#**
#** author: Tom Roeder
#** email: tmroeder@google.com
#** date: 2014-07-20T22:35:28-0700
#**
#-- Thanks; fixed.
#-- 
+
+// opErrMsgs maps opError codes to their associated error strings. Normally, Go
+// error messages must start with a lower-case character. However, in this case,
