code: function ecp_pubkey(Q, p, a, G, d, l) {
  	var R = ecp_new(l);
  	ecp_proj(Q, ecp_mul(R, d, G, a, p, l), p, l);
  }
docs: /*
  Derives the elliptic-curve public key on the curve with parameter a in the
  finite field of order p from the given private key d using generator point
  G, and stores the result in Q.