test: use ECC algorithm instead of RSA for primary key in tpm2_unseal
test: use ECC algorithm instead of RSA for primary key in tpm2_unseal

Creating a primary key may take a lot of time, specially when using the
RSA algorithm. Since for test we can use any algorithm, use ECC instead
to speed up the test on most systems.

While being there, do other cleanups like using pretty names instead of
hexadecimal values and use the -E option in the tpm2_create command so
the needed object attributes are set by the tool.

Signed-off-by: Javier Martinez Canillas <8fdf2abf85d34ea8f3f979ef25dc1f25d94aca29@redhat.com>

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