GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - apple/corecrypto: Apple corecrypto

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
acceleratecrypto
acceleratecrypto
 
 
cc
cc
 
 
cc_fips
cc_fips
 
 
cc_fips_test
cc_fips_test
 
 
ccaes
ccaes
 
 
ccansikdf
ccansikdf
 
 
ccasn1
ccasn1
 
 
ccblowfish
ccblowfish
 
 
cccast
cccast
 
 
ccchacha20poly1305
ccchacha20poly1305
 
 
ccckg
ccckg
 
 
cccmac
cccmac
 
 
ccder
ccder
 
 
ccdes
ccdes
 
 
ccdh
ccdh
 
 
ccdigest
ccdigest
 
 
ccdrbg
ccdrbg
 
 
ccec
ccec
 
 
ccec25519
ccec25519
 
 
ccec448
ccec448
 
 
ccecies
ccecies
 
 
ccentropy
ccentropy
 
 
cch2c
cch2c
 
 
cche
cche
 
 
cchkdf
cchkdf
 
 
cchmac
cchmac
 
 
cchpke
cchpke
 
 
cckeccak
cckeccak
 
 
cckem
cckem
 
 
cckprng
cckprng
 
 
cckyber
cckyber
 
 
cclr
cclr
 
 
ccmd2
ccmd2
 
 
ccmd4
ccmd4
 
 
ccmd5
ccmd5
 
 
ccmldsa
ccmldsa
 
 
ccmlkem
ccmlkem
 
 
ccmode
ccmode
 
 
ccn
ccn
 
 
ccnistkdf
ccnistkdf
 
 
ccpad
ccpad
 
 
ccpbkdf2
ccpbkdf2
 
 
ccpolyzp_po2cyc
ccpolyzp_po2cyc
 
 
ccprime
ccprime
 
 
ccrc2
ccrc2
 
 
ccrc4
ccrc4
 
 
ccripemd
ccripemd
 
 
ccrng
ccrng
 
 
ccrsa
ccrsa
 
 
ccsae
ccsae
 
 
ccscrypt
ccscrypt
 
 
ccsha1
ccsha1
 
 
ccsha2
ccsha2
 
 
ccsha3
ccsha3
 
 
ccsigma
ccsigma
 
 
ccspake
ccspake
 
 
ccsrp
ccsrp
 
 
ccvrf
ccvrf
 
 
ccwrap
ccwrap
 
 
ccxof
ccxof
 
 
ccxwing
ccxwing
 
 
ccz
ccz
 
 
cczp
cczp
 
 
config
config
 
 
corecrypto.xcodeproj
corecrypto.xcodeproj
 
 
corecrypto_dylib
corecrypto_dylib
 
 
corecrypto_kext
corecrypto_kext
 
 
corecrypto_l4
corecrypto_l4
 
 
corecrypto_perf
corecrypto_perf
 
 
corecrypto_rtkit
corecrypto_rtkit
 
 
corecrypto_static
corecrypto_static
 
 
corecrypto_test
corecrypto_test
 
 
corecrypto_thermal
corecrypto_thermal
 
 
corecrypto_verify
corecrypto_verify
 
 
hmacfiletool
hmacfiletool
 
 
linux/include
linux/include
 
 
prng_seedctl
prng_seedctl
 
 
ptrcheck
ptrcheck
 
 
scripts
scripts
 
 
.gitattributes
.gitattributes
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
License.txt
License.txt
 
 
README.md
README.md
 
 
module.private.modulemap
module.private.modulemap
 
 

Repository files navigation

The corecrypto (cc) project

The Security framework, CryptoKit and CommonCrypto rely on the corecrypto library to provide implementations of low-level cryptographic primitives. Although corecrypto does not directly provide programming interfaces for developers and should not be used by iOS, iPadOS, or macOS apps, the source code is available to allow for verification of its security characteristics and correct functioning.

The main goal is to provide low-level fast math routines and cryptographic implementations which can be used in various environments (Kernel, bootloader, userspace, etc.). It is an explicit goal to minimize dependencies between modules and functions so that clients of this library only end up with the routines they need and nothing more.

Building on macOS

The easiest way to build the corecrypto project is to use the xcodebuild command. The project supports several schemes, including:

  1. corecrypto: This scheme compiles corecrypto and produces a static library.
  2. corecrypto_test: This scheme compiles corecrypto test files and links statically with the corecrypto debug library.
  3. corecrypto_perf: This scheme compiles corecrypto performance measurement files and links statically with the corecrypto release library. E.g., xcodebuild -scheme corecrypto_test

Running the formal verification

Our formal verification is in the corecrypto_verify subdirectory. Please refer to the corecrypto_verify/README.md for more details. For an overview of the process, see our Formal verification in corecrypto: ML-KEM and ML-DSA in 2026 technical overview.

Licensing and Contributions

The publication of this code is primarily intended for security research and verification purposes. The default license for the corecrypto (cc) project is the evaluation-only corecrypto Internal Use License Agreement contained in License.txt.

Some Isabelle files, however, are intended for wider use and are also licensed under more permissive terms. For example, the files in:

  • the directories in corecrypto_verify/isabelle/Apple_Isabelle_Libraries are available under per-subdirectory license files as referenced in individual file headers
  • the directory corecrypto_verify/isabelle/Cryptol/cryptol-to-isabelle/isabelle are available under an accompanying LICENSE file

We are not currently accepting external code contributions to this repository. Please see CONTRIBUTING.md for information about reporting security issues.

Contact

To report security issues with this code, please use the instructions available at this page.

About

Apple corecrypto

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

410 stars

Watchers

7 watching

Forks

50 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.