Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to build IPP Crypto from source #731

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Jul 21, 2021

  1. Add sgx_ippcp.h header to build sdk from source

    (when ipp-crypto is built from source)
    
    Signed-off-by: Sylvain Bellemare <sbellem@gmail.com>
    sbellem committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    e592908 View commit details
    Browse the repository at this point in the history
  2. WIP: figure more general mechanism to build ipp crypto

    When building SDK & IPP Crypto from source with nix, the current check
    for the IPP source code does not work properly. That is, even though the
    IPP Crypto source code is there the check in the Makefile triggers the
    call to the ipp_source target which invokes git to update the submodule
    or clone the repo.
    
    In the context of a nix derivation, the source code along with the
    submodules is fetch at the beginning and the .git directory is removed,
    such that later invocations to git commands such as the one in the
    Makefile for the ipp_source target, fail.
    
    Also, depending on the environment, NIX_PATH may not be set and is
    therefore too restrictive as a check or assumes too much. A more general
    mechanism would be preferable.
    
    Signed-off-by: Sylvain Bellemare <sbellem@gmail.com>
    sbellem committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    b1e1b2e View commit details
    Browse the repository at this point in the history