Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

something is running wrong ! #1

Open
Mora-5-Love opened this issue Mar 2, 2018 · 0 comments
Open

something is running wrong ! #1

Mora-5-Love opened this issue Mar 2, 2018 · 0 comments

Comments

@Mora-5-Love
Copy link

Mora-5-Love commented Mar 2, 2018

BigInteger h = ecc_bc_spec.getH();
		if (h != null) {
			ECPoint S = publicKey.multiply(h);
			if (S.isInfinity())
				throw new IllegalStateException();
		}

in my environment it warns in ECPoint S = publicKey.multiply(h) of NULLPoint Exception , please check Exception in thread "main" java.lang.NullPointerException
at com.SM2.encrypt(SM2.java:146)
at com.SM2.main(SM2.java:816)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant