]> git.saurik.com Git - apple/security.git/blame - Security/libsecurity_apple_csp/README
Security-57031.40.6.tar.gz
[apple/security.git] / Security / libsecurity_apple_csp / README
CommitLineData
b1ab9ed8
A
1 libsecurity_apple_csp Notes
2
3To build this project in a Darwin environment (as opposed to building in-house
4at 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
6line, specify the build style like so:
7
8% xcodebuild -buildstyle Darwin install
9
10This build style is necessitated by the fact that the CSP built at (and
11shipped by) Apple includes some algorithms which are proprietary to Apple;
12the source code for these algorithms is not open source. Selecting the
13Darwin build style allows the CSP (and hence Security.framework, which also
14must be built with the Darwin build style) to be built from the Darwin
15open source tree without requiring the source for these algorithms.
16
17The algorithms avoided by selecting the Darwin build style are as follows:
18
19CSSM_ALGID_ASC
20 Apple Secure Compression, a symmetric encryption algorithm
21 which performs simultaneous encryption and compression.
22
23CSSM_ALGID_FEE
24CSSM_ALGID_FEED
25CSSM_ALGID_FEEDEXP
26CSSM_ALGID_FEE_MD5
27CSSM_ALGID_FEE_SHA1
28CSSM_ALGID_SHA1WithECDSA
29CSSM_ALGID_ECDSA
30 Asymmetric encryption using Apple's patented Fast Elliptic Encryption
31 algorithm.
32