Elliptic Curve Cryptography implementation

Hi,

We need to perform a Diffie-Hellman Elliptical Curve (ECDH) exchange with the FRP256v1 or P-256 or P-384 or P-521 curves with a bluetooth-connected object to a smartphone application. Is there already a lib or a well supported framework to do this?

Replies

The standard iOS API for EC cryptography is

SecKeyCreateSignature
and its close friends. These routines support many different algorithms — see
SecKeyAlgorithm
for the full list — but I’m not sure if the ones you need are covered.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"