The ippcp library is built based on the Open Source project ipp-crypto:
In order to build your own IPP crypto, please follow below steps:
- Download the prebuilt mitigation tools package
as.ld.objdump.{ver}.tar.gz
from 01.org, extract the package and copy the tools to/usr/local/bin
. - Read the ipp-crypto README to prepare your build environment.
- Make sure ipp-crypto source code are prepared.
- Build the target ippcp library with the prepared Makefile:
a. Build the target ippcp library with All-Loads-Mitigation:
$ make MITIGATION-CVE-2020-0551=LOAD
b. Build the target ippcp library with Branch-Mitigation:
$ make MITIGATION-CVE-2020-0551=CF
c. Build the target ippcp library with No-Mitigation:
$ make
The built-out static library
libippcp.a
and header files will be copied into the right place. Remember to "make clean" before switching the build.
For IPP crypto reproducible build, please follow the instructions in reproducibility README.md to reproduce the prebuilt IPP crypto.