Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

[Pal/lib] Remove list-test, move path.c, refactor crypto code #2367

Merged
merged 3 commits into from
May 14, 2021

Commits on May 14, 2021

  1. [Pal/lib] Remove unused list-test.c

    Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
    dimakuv committed May 14, 2021
    Configuration menu
    Copy the full SHA
    57d9f40 View commit details
    Browse the repository at this point in the history
  2. [Pal/lib] Move Pal/lib/graphene/path.c to Pal/lib/path.c

    This is to get rid of the `graphene/` subdir. All Graphene-specific
    utility files are stored under `Pal/lib/` by convention.
    
    Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
    dimakuv committed May 14, 2021
    Configuration menu
    Copy the full SHA
    af31cd3 View commit details
    Browse the repository at this point in the history
  3. [Pal/lib] Remove redundant functionality from crypto

    This commit simplifies the crypto code:
    - `rng-arch.h` header and its `get_rand64()` are replaced with
      `_DkRandomBitsRead()` and subsequently removed.
    - `lib_Base64Encode()` and `lib_Base64Decode()` are replaced with their
      mbedTLS counterparts and subsequently removed.
    - All mbedTLS wrappers are amalgamated in a single `mbedtls_adapter.c`.
    - `pal_crypto.h` header is renamed to `crypto.h` (it has nothing to do
      with PAL code).
    
    Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
    dimakuv committed May 14, 2021
    Configuration menu
    Copy the full SHA
    adf6269 View commit details
    Browse the repository at this point in the history