SecKeyRawSign in secure enclave

Hi,


Glad to hear that now iOS allows signing data inside the secure enclave, but documentation does not specify which exact curve is used (secp256r1, secp256k1 or Ed25519) and what signing method is used (Ed25519 has standard deterministic algorithm, others can use RFC6979 or random nonce). Does anyone have an idea what exact curve and nonce generation algorithm is used here?


For my Bitcoin application I can only take advantage of this API if it allows using secp256k1 curve with RFC6979 (or otherwise determinstic) nonce. Also, it would be helpful to allow other operations in-enclave, such as multiplication (generally speaking, `privkey*A + b*G` where `A` and `b` are parameters). This is needed for more complex operations, such as blind signing (https://github.com/oleganza/bitcoin-papers/blob/master/BitcoinBlindSignatures.md).

SecKeyRawSign in secure enclave
 
 
Q