tpm2: cache TPM's supported ECC curves
authorDan Streetman <ddstreet@ieee.org>
Fri, 8 Sep 2023 17:14:38 +0000 (13:14 -0400)
committerDan Streetman <ddstreet@ieee.org>
Tue, 3 Oct 2023 16:56:55 +0000 (12:56 -0400)
commit639dca030bc14b71b3dba0a486f282de316b3e65
tree234c3ae6ac156c670d71251b3db6d5b58f0a51b3
parentdb7fdf152b5811c2d83e967010bcde8d435e5bc4
tpm2: cache TPM's supported ECC curves

This brings the tpm2_supports_ecc_curve() api in line with the other
tpm2_supports_*() functions, of returning a boolean.
src/shared/tpm2-util.c
src/shared/tpm2-util.h