Fix ignoring the public key offset
@@ -334,7 +334,7 @@ private static void implSign(Digest d, byte[] h, byte[] s, byte[] pk, int pkOff,
dom2(d, phflag, ctx);
d.update(R, 0, POINT_BYTES);
- d.update(pk, 0, POINT_BYTES);
+ d.update(pk, pkOff, POINT_BYTES);
d.update(m, mOff, mLen);
d.doFinal(h, 0);
