iOS Question [SOLVED] Cryptography: need AES-CTR and ECDH Public key exchange

JordiCP

Expert
Licensed User
Longtime User
Hi all,

In order to communicate with a secure element through BLE, I need to perform an ECDH PKE process with NIST P256 and then encrypt/decrypt blocs with AES-CTR.
I've used iEncryption in the past, but I think it doesn't include these options.

Has someone used them with an already existing (core or 3rd party) library/framework? It would be ideal if it could be done through inline Objective-C.

Thanks in advance :)
 

JordiCP

Expert
Licensed User
Longtime User
Solved the AES256-CTR part with a bit of inline ObjC, CommonCrypto and some hat tricks.
Still need to figure out how to deal with the ECC ?
 
Upvote 1

JordiCP

Expert
Licensed User
Longtime User
Do you have any hint regarding the libs/frameworks that could suit for ECC?

I've seen libsodium and others, but before diving into a specific one, perhaps there are 'simpler' options even if all of them will require some work
 
Upvote 0
Top