test: remove external hex conversion of random bytes
test: remove external hex conversion of random bytes

For quoting, 20 random bytes are needed. However, the casting of these
random bytes into a hex stream is done two times, first with --hex
(introduced with 460afc31) and then by calling xxd. This results in
80 characters (representing 40 bytes) which is not what we want.
With the internal conversion of tpm2_getrandom into a hex stream, the call
of xxd can be ommitted.

Signed-off-by: Johannes Holland <45a711f7113e27c7d3924435698a26248acdf0b5@infineon.com>

01org/tpm2.0-tools,01org/tpm2.0-tools,01org/tpm2.0-tools