The SDK is divided into logical components to separate responsibilities and create interfaces that you can re-implement using custom tools such as hardware accelerators.
The Intel® EPID SDK is divided into the following components:
Component | Description |
---|---|
member | Library containing APIs needed to implement a member |
verifier | Library containing APIs needed to implement a verifier |
common | Library containing common types and functions |
math | Math primitives used by member and verifier |
IPP | A C-only non-optimized subset of Intel® IPP |
signmsg | A sample program showing how to sign messages |
verfifysig | A sample program showing how to verify signatures |
util | Common utilities used by samples |
gtest | gtest unit test framework |
Build Scripts | Scripts to configure and build the SDK |
Sample Issuer Material | Sample keys and revocation lists |
Math primitives are implemented in the math sub-component of common. The reference math primitive implementation is based on a non-optimized Vanilla C subset of the Intel® Performance Primitives. Math is designed so that you can replace its implementation to call custom hardware IP blocks or optimized libraries.
The Intel® EPID SDK has two filesystem layouts: the Source Layout and the Install Layout.
The Source Layout is what you find when you download the SDK and extract it to disk. This layout contains all of the files that you need to build the libraries, samples, tests, and data generated by the SDK.
The Install Layout is the layout of files under the _install
folder after you build the SDK.
The Source Layout is used by the build scripts in the Intel® EPID SDK to find components and files needed to create libraries and executables.
epid-sdk/ |__ LICENSE.txt Distribution license |__ NOTICE.txt Legal notices |__ README.md Readme |__ RELEASE_NOTES.md Release notes |__ SConstruct Main build configuration | |__ doc/ | |__ html/ HTML format documentation | |__ index.html Entry point for HTML format documentation | |__ epid/ | |__ common/ Source for Common | |__ common-testhelper/ Source for unit test helper common helpers | |__ member/ Source for Member | |__ verifier/ Source for Verifier | |__ example/ | |__ data/ Binary data used for testing and tutorials | |__ signmsg/ Source for message signing example | |__ util/ Common utilities for examples | |__ verifysig/ Source for signature validation signing example | |__ ext/ | |__ gtest/ Third party gtest library | |__ ipp/ IPP library | |__ parts-site/ Parts platform config scripts
The Install Layout contains the data developers need to develop and build their applications using the Intel® EPID SDK. Once built, the Install Layout has no dependency on the Source Layout, allowing developers to build the SDK once and reuse the built files in other locations or on other computers.
_install/ |__ epid-sdk/ |__ include/ C include header files for the SDK |__ lib/ | |__ <platform> Target specific static libraries for the SDK | |__example/ Sample applications and data |__test/ Unit test executables (if unit tests built)