add public key callbacks for ecc sign/verify, examples