error setting up keys - java.security.InvalidAlgorithmParameterException: unknown curve name: sm2p256v1 Collaborator bcgit commented Dec 20, 2017 Have you tried this using the latest beta - https://www.bouncycastle.org/betas Collaborator bcgit commented Jun 4, 2018 Closing as fixed without ...