Specify KeyMint EC keys by curve not size

Future addition of extra curves means that key size is not enough to
identify the particular EC curve required. Use the EcCurve enum instead.

Bug: 226270116
Test: iVtsHalWifiKeystoreV1_0TargetTest on Cuttlefish, TreeHugger
Change-Id: I9297e78b542d5a0bf135efe6c956f4bd4a08bc48
Merged-In: I9297e78b542d5a0bf135efe6c956f4bd4a08bc48
(cherry picked from commit 0689be018b2a4eb8a017b51fa9f24911cea7f3da)
1 file changed