This article provides more detailed information (compared to the other answers in this thread):
SecGenerateKeyPair (), which is used to generate RSA and ECDSA key pairs, can now be configured to directly store the generated private key in Keychain devices (as part of a secure enclave). This means that the private key can be used without leaving the Secure Enclave device.
And an important addition :
The kSecAttrTokenIDSecureEnclave attribute should be used when creating a key pair.
If you do not specify this attribute, the private key will be available even on iOS9.
source share