Use the correct enum in switch statments.
Use the correct enum in switch statments.

ecdsa_key_format.params().curve() is the proto enum, so we should also use the proto enum in the switch statement.

PiperOrigin-RevId: 396612808

google/tink,google/tink,google/tink,google/tink,google/tink,google/tink,google/tink,google/tink