Open hamedaakhlaghi opened 6 years ago
I have not done that before. Do you want to do that whilst storing the private key on secure enclave? I don't think that is possible.
You could create a key pair outside of the sdk and import the public key to the sdk. I can help you with importing.
I saw secp256r1
in the readme, I thought your library support this standard. I don't want to store public or private, I need to generate public key with secp256r1.
Yes, it supports the same configuration for secp256r1 as Security framework from Apple provides of support. I don't think I can help you further than that. Maybe if you share some pseudo code?
@hamedaakhlaghi I support secp256r1
in EllipticCurveKit
@Sajjon Thanks, My problem resolved
How did you resolve?
@hfossli I used https://github.com/ricmoo/GMEllipticCurveCrypto framework.
How can I generate a public key with specific domain parameters (a, b, p, x, y, n, h) according to secp256r1