Lines Matching full:hwid
24 # HWID length should include the terminating null - this is too long
25 if ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDEF" ${TMP}.blob; then
29 ${FUTILITY} gbb_utility -s --hwid="0123456789ABCDE" ${TMP}.blob
104 # (HWID) 0x0080 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 00
123 # HWID not null-terminated is invalid
127 # HWID of length zero is okay
130 # And HWID of length 1 consisting only of '\0' is okay, too.
134 # zero-length HWID not null-terminated is invalid
162 # hwid: offset + size == end of file is okay; beyond is invalid
189 if ${FUTILITY} gbb_utility -s --hwid="A" ${TMP}.blob.bad; then false; fi
214 # (HWID) 0x0080 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 00
217 hwid="123456789ABCDEF"
218 ${FUTILITY} gbb_utility -s --hwid=${hwid} ${TMP}.blob
219 expect=$(echo -n "$hwid" | sha256sum | cut -d ' ' -f 1)
229 # Garble the HWID. The digest is unchanged, but now invalid.