{"id":455276,"date":"2026-05-22T22:41:12","date_gmt":"2026-05-22T22:41:12","guid":{"rendered":"https:\/\/www.newsbeep.com\/il\/455276\/"},"modified":"2026-05-22T22:41:12","modified_gmt":"2026-05-22T22:41:12","slug":"apple-shares-iphone-and-mac-post-quantum-cryptography-code-on-github","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/il\/455276\/","title":{"rendered":"Apple shares iPhone and Mac post-quantum cryptography code on GitHub"},"content":{"rendered":"<p>\t<img width=\"1600\" height=\"800\" src=\"https:\/\/www.newsbeep.com\/il\/wp-content\/uploads\/2026\/05\/how-to-get-imessage-quantum-security-1.jpg\" class=\"skip-lazy wp-post-image\" alt=\"ios 18.5 security fixes\"  decoding=\"async\" fetchpriority=\"high\"\/><\/p>\n<p>Apple today published new corecrypto source code on GitHub, alongside a detailed technical post explaining the intricate work behind its post-quantum cryptography efforts across iPhone, Mac, and more. Here are the details.<\/p>\n<p>Apple continues its post-quantum security work<\/p>\n<p>Earlier today, Apple published a new corecrypto repository on GitHub as part of a broader update to its post-quantum cryptography work, which <a href=\"https:\/\/9to5mac.com\/2024\/02\/21\/imessage-quantum-security-ios-17-4\/\" rel=\"nofollow noopener\" target=\"_blank\">started rolling out publicly in 2024<\/a> with iMessage\u2019s PQ3 protocol.<\/p>\n<p><a href=\"https:\/\/security.apple.com\/blog\/imessage-pq3\/\" rel=\"nofollow noopener\" target=\"_blank\">Announced with iOS 17.4<\/a>, PQ3 was Apple\u2019s first major public step toward protecting users against future quantum computers, with iMessage adding post-quantum protection both when a conversation starts and as encryption keys are refreshed over time.<\/p>\n<p>Today\u2019s announcement continues that work, with the <a href=\"https:\/\/github.com\/apple\/corecrypto\" rel=\"nofollow noopener\" target=\"_blank\">GitHub repository<\/a> including source code for corecrypto, the low-level cryptographic library used by Apple\u2019s Security framework, CryptoKit, and CommonCrypto to power encryption, hashing, random number generation, and digital signatures.<\/p>\n<p>The repository also includes Apple\u2019s implementations of ML-KEM and ML-DSA (the two post-quantum algorithms the company chose for corecrypto), as well as tests, performance tools, build targets, and a dedicated formal verification folder.<\/p>\n<p>According to Apple, the latter contains the proof work and supporting tools used to check that its implementations match <a href=\"https:\/\/csrc.nist.gov\/pubs\/fips\/203\/final\" rel=\"nofollow noopener\" target=\"_blank\">FIPS 203<\/a> and <a href=\"https:\/\/csrc.nist.gov\/pubs\/fips\/204\/final\" rel=\"nofollow noopener\" target=\"_blank\">FIPS 204<\/a>, the <a href=\"https:\/\/www.nist.gov\/\" rel=\"nofollow noopener\" target=\"_blank\">NIST<\/a> standards for ML-KEM (used to help establish secure encryption keys) and ML-DSA (used for digital signatures), designed to protect against known threats posed by future quantum computers.<\/p>\n<p>Apple details its post-quantum security work<\/p>\n<p>Alongside the repository, Apple also published <a href=\"https:\/\/security.apple.com\/blog\/formal-verification-corecrypto\/\" rel=\"nofollow noopener\" target=\"_blank\">a very detailed look<\/a> at how it verified this code before making it available for outside review, and why it is releasing today\u2019s material.<\/p>\n<p>With the latest release of corecrypto source code on May 22, 2026, we\u2019re sharing meaningful advances in applied formal verification with the global cryptographic community, including the details of our approach and the tools we used. They are released openly to encourage wider adoption, support critical review of our work, and help advance the state of the art for assuring critical software.<\/p>\n<p>The actual process is incredibly intricate, combining conventional testing, simulation, independent review, and Apple\u2019s own formal verification work.<\/p>\n<p>Apple says it developed a custom approach because existing tools did not meet all of its requirements, as corecrypto has to work across Apple\u2019s product lineup, including devices with different Apple silicon designs. Additionally, Apple\u2019s implementations include both portable C code and hand-optimized ARM64 assembly written to take advantage of its own processors. So, relying on existing verification methods alone wouldn\u2019t cut it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" height=\"525\" width=\"1024\" src=\"https:\/\/www.newsbeep.com\/il\/wp-content\/uploads\/2026\/05\/apple-post-quantum-scheme.jpg\" alt=\"\" class=\"wp-image-1053185\"  \/><\/p>\n<p>As Apple explains, this work helped catch issues that conventional testing would not have found before the code reached its products.<\/p>\n<p>For example, we identified a missing step in an early ML-DSA implementation, which in rare cases could cause inputs to exceed the expected range and produce incorrect output. We also discovered an error in a third-party proof, which we were able to independently repair for the specific parameter values used in our implementation. In the worst case scenario, the missing step issue could have silently corrupted cryptographic computations without any warning from existing test suites. Integrating formal verification into our development cycle provided strong assurance that our implementation is correct and that every subroutine works well together.<\/p>\n<p>Finally, the company points to its <a href=\"https:\/\/github.com\/apple\/corecrypto\/blob\/2026-05\/corecrypto_verify\/technical_overview\/formal-verification-for-apple-corecrypto.md\" rel=\"nofollow noopener\" target=\"_blank\">Formal verification for Apple corecrypto paper<\/a> (which elaborates on its approach), the custom-built <a href=\"https:\/\/github.com\/GaloisInc\/saw-script\/releases\/tag\/v1.5.1\" rel=\"nofollow noopener\" target=\"_blank\">Cryptol-to-Isabelle translator tool<\/a> (which helps convert part of Apple\u2019s verification work into a format that can be checked against the official standards), and <a href=\"https:\/\/github.com\/apple\/corecrypto\/tree\/2026-05\/corecrypto_verify\/isabelle\/Apple_Isabelle_Libraries\" rel=\"nofollow noopener\" target=\"_blank\">Isabelle theories<\/a> in the <a href=\"https:\/\/github.com\/apple\/corecrypto\" rel=\"nofollow noopener\" target=\"_blank\">corecrypto source archive<\/a> (which offer the underlying proof materials experts need to reproduce and evaluate Apple\u2019s results) as supporting materials for security researchers.<\/p>\n<p>You can read the post in Apple\u2019s Security Research blog <a href=\"https:\/\/security.apple.com\/blog\/formal-verification-corecrypto\/\" rel=\"nofollow noopener\" target=\"_blank\">here<\/a>, and you can check out the GitHub repository <a href=\"https:\/\/github.com\/apple\/corecrypto\" rel=\"nofollow noopener\" target=\"_blank\">here<\/a>.<\/p>\n<p>Worth checking out on Amazon<\/p>\n<p>\t\t<a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/google.com\/preferences\/source?q=https:\/\/9to5mac.com\" aria-label=\"Add 9to5Mac as a preferred source on Google\"><br \/>\n\t\t\t<img decoding=\"async\" class=\"google-preferred-source-badge-dark\" src=\"https:\/\/www.newsbeep.com\/il\/wp-content\/uploads\/2025\/09\/1757289970_377_google-preferred-source-badge-dark.png\" alt=\"Add 9to5Mac as a preferred source on Google\"\/><br \/>\n\t\t\t<img decoding=\"async\" class=\"google-preferred-source-badge-light\" src=\"https:\/\/www.newsbeep.com\/il\/wp-content\/uploads\/2025\/09\/1757289971_539_google-preferred-source-badge-light.png\" alt=\"Add 9to5Mac as a preferred source on Google\"\/><br \/>\n\t\t<\/a><\/p>\n<p class=\"disclaimer-affiliate\">FTC: We use income earning auto affiliate links. <a href=\"https:\/\/9to5mac.com\/about\/#affiliate\" rel=\"nofollow noopener\" target=\"_blank\">More.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Apple today published new corecrypto source code on GitHub, alongside a detailed technical post explaining the intricate work&hellip;\n","protected":false},"author":2,"featured_media":455277,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[85,46,125],"class_list":["post-455276","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-il","tag-israel","tag-technology"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts\/455276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/comments?post=455276"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/posts\/455276\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/media\/455277"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/media?parent=455276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/categories?post=455276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/il\/wp-json\/wp\/v2\/tags?post=455276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}