Fix method by which the EC curve type is determined

The way the curve type was determined was fragile when moving between
processor types. Change it to a more explicit curve type check.

Change-Id: I3fe1d6c38bd0e360ba3ec4f688b44485b5a1c7ab
1 file changed