yes! bug solved!

we were giving the wrong algorithm (ELGAMAL = 0x10 v ECDH = 0x12)

Cpminer would have caught it!