decodePoint

Decodes a SEC 1 elliptic-curve point: uncompressed (65 bytes, 0x04 || X || Y) or compressed (33 bytes, 0x02/0x03 || X, sign of Y in the prefix). Returns null if bytes is not a validly-encoded, on-curve point — wrong length, unrecognized prefix, x >= p, or (compressed form only) x has no square root mod p.