<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoKit",
  "identifier" : "/documentation/CryptoKit/SecureEnclave/P256",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Apple CryptoKit",
      "CryptoKit"
    ],
    "preciseIdentifier" : "s:9CryptoKit13SecureEnclaveO4P256O"
  },
  "title" : "SecureEnclave.P256"
}
-->

# SecureEnclave.P256

An elliptic curve that enables NIST P-256 signatures and key agreement
within the Secure Enclave.

```
enum P256
```

## Topics

### Performing operations

[`SecureEnclave.P256.KeyAgreement`](/documentation/CryptoKit/SecureEnclave/P256/KeyAgreement)

A mechanism used to create a shared secret between two users by
performing NIST P-256 elliptic curve Diffie Hellman (ECDH) key
exchange within the Secure Enclave.

[`SecureEnclave.P256.Signing`](/documentation/CryptoKit/SecureEnclave/P256/Signing)

A mechanism used to create or verify a cryptographic signature
using the NIST P-256 elliptic curve digital signature algorithm
(ECDSA) within the Secure Enclave.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)