decompress

The uncompressed 04 || x || y of the compressed point on the curve of type: y is the square root whose parity the prefix gives, 02 for an even y and 03 for an odd one.

Throws

when type is not P-256 or P-384, when point is not 02 or 03 followed by one coordinate, or when x is not below the field prime or not on the curve.