]>
Commit | Line | Data |
---|---|---|
b1ab9ed8 A |
1 | libsecurity_apple_csp Notes |
2 | ||
3 | To build this project in a Darwin environment (as opposed to building in-house | |
4 | at Apple), use the Darwin buildstyle. If you're building with Xcode, select | |
5 | "Darwin" from the "Active Build Style" popup. If you're building from the command | |
6 | line, specify the build style like so: | |
7 | ||
8 | % xcodebuild -buildstyle Darwin install | |
9 | ||
10 | This build style is necessitated by the fact that the CSP built at (and | |
11 | shipped by) Apple includes some algorithms which are proprietary to Apple; | |
12 | the source code for these algorithms is not open source. Selecting the | |
13 | Darwin build style allows the CSP (and hence Security.framework, which also | |
14 | must be built with the Darwin build style) to be built from the Darwin | |
15 | open source tree without requiring the source for these algorithms. | |
16 | ||
17 | The algorithms avoided by selecting the Darwin build style are as follows: | |
18 | ||
19 | CSSM_ALGID_ASC | |
20 | Apple Secure Compression, a symmetric encryption algorithm | |
21 | which performs simultaneous encryption and compression. | |
22 | ||
23 | CSSM_ALGID_FEE | |
24 | CSSM_ALGID_FEED | |
25 | CSSM_ALGID_FEEDEXP | |
26 | CSSM_ALGID_FEE_MD5 | |
27 | CSSM_ALGID_FEE_SHA1 | |
28 | CSSM_ALGID_SHA1WithECDSA | |
29 | CSSM_ALGID_ECDSA | |
30 | Asymmetric encryption using Apple's patented Fast Elliptic Encryption | |
31 | algorithm. | |
32 |