ocrypto supports the following cryptographic algorithms for HomeKit, plus some further algorithms that were added upon customer request:
Algorithm | Specification |
SRP-6 (SHA512, 3072-bit keys) | RFC2945 |
X25519 (Curve25519) | RFC7748 |
Ed25519 |
RFC8032 |
ECDH (P224, P256) |
NIST SP 800-56A |
ECDSA (P224, P256) |
FIPS-PUB-186-4 |
EC-JPAKE (P256) |
RFC8236 |
AEAD-ChaCha20-Poly1305 | RFC8439 |
AES | FIPS-PUB-197 |
AES-CTR | NIST SP 800-38A |
AES-CCM | NIST SP 800-38C |
AES-GCM | NIST SP 800-38D |
SHA (SHA512, SHA256, SHA1) | FIPS-PUB-180-4 |
HMAC (SHA512, SHA256, SHA1) | RFC2104 |
HKDF (SHA512, SHA256, SHA1) | RFC5869 |
PBKDF2-SHA1 | RFC8018 |
SRTP | RFC3711 |
RSA (1024- and 2048-bit keys) | RFC8017 |